|
Cytoscape 2.8.0 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 AbstractGraphReader
monitor
- the TaskMonitor to usepublic void read() throws IOException
AbstractGraphReader
read
in interface GraphReader
read
in class AbstractGraphReader
IOException
- DOCUMENT ME!public int[] getNodeIndicesArray()
AbstractGraphReader
getNodeIndicesArray
in interface GraphReader
getNodeIndicesArray
in class AbstractGraphReader
public int[] getEdgeIndicesArray()
AbstractGraphReader
getEdgeIndicesArray
in interface GraphReader
getEdgeIndicesArray
in class AbstractGraphReader
public List<CyNetwork> getNetworks()
Usually used by the caller of reader.
getNetworks
in interface NestedNetworkReader
public String getNetworkName()
getNetworkName
in interface GraphReader
getNetworkName
in class AbstractGraphReader
|
Cytoscape 2.8.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |