|
Cytoscape 2.8.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cytoscape.data.readers.AbstractGraphReader cytoscape.data.readers.XGMMLReader
public class XGMMLReader
XGMML file reader.
This version is Metanode-compatible.
XGMMLWriter
Field Summary | |
---|---|
protected static String |
BOX
|
protected static String |
CIRCLE
|
protected static String |
CY_NAMESPACE
|
protected static String |
DIAMOND
|
protected static String |
EDGE
|
protected static String |
ELLIPSE
|
protected static String |
GRAPH
|
protected static String |
GRAPHICS
|
protected static String |
HELLIPSIS
|
protected static String |
HEXAGON
|
protected static String |
LABEL
|
protected static String |
LINE
|
protected static String |
NODE
|
protected static String |
OCTAGON
|
protected static String |
PARALELLOGRAM
|
protected static String |
PENTAGON
|
protected static String |
POINT
|
protected static String |
RECTANGLE
|
protected static String |
RHOMBUS
|
protected static String |
ROUNDED_RECTANGLE
|
protected static String |
SOURCE
|
protected static String |
TARGET
|
protected static String |
TRIANGLE
|
protected static String |
VEE
|
protected static String |
VELLIPSIS
|
Fields inherited from class cytoscape.data.readers.AbstractGraphReader |
---|
fileName, title |
Constructor Summary | |
---|---|
XGMMLReader(InputStream is)
Constructor. This is usually used for remote file loading. |
|
XGMMLReader(InputStream is,
String name)
Constructor. This is usually used for remote file loading. |
|
XGMMLReader(String fileName)
Constructor. This is for local XGMML file. |
|
XGMMLReader(String fileName,
TaskMonitor monitor)
Creates a new XGMMLReader object. |
Method Summary | |
---|---|
void |
doPostProcessing(CyNetwork network)
This method does all of our postprocessing after reading and parsing the file |
int[] |
getEdgeIndicesArray()
DOCUMENT ME! |
CyLayoutAlgorithm |
getLayoutAlgorithm()
getLayoutAlgorithm is called to get the Layout Algorithm that will be used to layout the resulting graph. |
String |
getNetworkID()
DOCUMENT ME! |
String |
getNetworkName()
DOCUMENT ME! |
int[] |
getNodeIndicesArray()
DOCUMENT ME! |
void |
read()
DOCUMENT ME! |
void |
setTaskMonitor(TaskMonitor monitor)
Sets the task monitor we want to use |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final String GRAPH
protected static final String NODE
protected static final String EDGE
protected static final String GRAPHICS
protected static final String LABEL
protected static final String SOURCE
protected static final String TARGET
protected static final String RECTANGLE
protected static final String ELLIPSE
protected static final String LINE
protected static final String POINT
protected static final String DIAMOND
protected static final String HEXAGON
protected static final String OCTAGON
protected static final String PARALELLOGRAM
protected static final String TRIANGLE
protected static final String VEE
protected static final String ROUNDED_RECTANGLE
protected static final String BOX
protected static final String CIRCLE
protected static final String VELLIPSIS
protected static final String HELLIPSIS
protected static final String RHOMBUS
protected static final String PENTAGON
protected static final String CY_NAMESPACE
Constructor Detail |
---|
public XGMMLReader(String fileName)
fileName
- File name of local XGMML file.
FileNotFoundException
public XGMMLReader(InputStream is)
is
- Input stream of XGMML file,public XGMMLReader(InputStream is, String name)
is
- Input stream of XGMML file,public XGMMLReader(String fileName, TaskMonitor monitor)
fileName
- DOCUMENT ME!monitor
- DOCUMENT ME!Method Detail |
---|
public void setTaskMonitor(TaskMonitor monitor)
setTaskMonitor
in class AbstractGraphReader
monitor
- the TaskMonitor to usepublic void read() throws IOException
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 String getNetworkID()
public String getNetworkName()
AbstractGraphReader
getNetworkName
in interface GraphReader
getNetworkName
in class AbstractGraphReader
public CyLayoutAlgorithm getLayoutAlgorithm()
getLayoutAlgorithm
in interface GraphReader
getLayoutAlgorithm
in class AbstractGraphReader
public void doPostProcessing(CyNetwork network)
doPostProcessing
in interface GraphReader
doPostProcessing
in class AbstractGraphReader
network
- the network we've read in
|
Cytoscape 2.8.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |