|
Cytoscape 2.8.2 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcytoscape.data.readers.AbstractGraphReader
cytoscape.data.readers.NNFReader
public class NNFReader
Graph file reader for NNF files.
| Field Summary |
|---|
| Fields inherited from class cytoscape.data.readers.AbstractGraphReader |
|---|
fileName, title |
| Constructor Summary | |
|---|---|
NNFReader(InputStream is,
String name)
Constructor. This is usually used for remote file loading. |
|
NNFReader(String filename)
Creates an interaction reader based on the string file name. |
|
NNFReader(String filename,
TaskMonitor monitor)
Creates an interaction reader based on the string file name. |
|
| Method Summary | |
|---|---|
int[] |
getEdgeIndicesArray()
DOCUMENT ME! |
String |
getNetworkName()
Always returns root network title. |
List<CyNetwork> |
getNetworks()
Returns root network. |
int[] |
getNodeIndicesArray()
DOCUMENT ME! |
void |
read()
DOCUMENT ME! |
void |
setTaskMonitor(TaskMonitor monitor)
Sets the task monitor we want to use |
| Methods inherited from class cytoscape.data.readers.AbstractGraphReader |
|---|
doPostProcessing, getLayoutAlgorithm |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NNFReader(String filename)
filename - The filename that contains the interaction data to be read.
public NNFReader(String filename,
TaskMonitor monitor)
filename - The filename that contains the interaction data to be read.monitor - An optional task monitor. May be null.
public NNFReader(InputStream is,
String name)
is - Input stream of GML file,| Method Detail |
|---|
public void setTaskMonitor(TaskMonitor monitor)
setTaskMonitor in class AbstractGraphReadermonitor - the TaskMonitor to use
public void read()
throws IOException
AbstractGraphReader
read in interface GraphReaderread in class AbstractGraphReaderIOException - DOCUMENT ME!public int[] getNodeIndicesArray()
AbstractGraphReader
getNodeIndicesArray in interface GraphReadergetNodeIndicesArray in class AbstractGraphReaderpublic int[] getEdgeIndicesArray()
AbstractGraphReader
getEdgeIndicesArray in interface GraphReadergetEdgeIndicesArray in class AbstractGraphReaderpublic List<CyNetwork> getNetworks()
Usually used by the caller of reader.
getNetworks in interface NestedNetworkReaderpublic String getNetworkName()
getNetworkName in interface GraphReadergetNetworkName in class AbstractGraphReader
|
Cytoscape 2.8.2 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||