|
Cytoscape 2.8.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.swing.filechooser.FileFilter cytoscape.util.CyFileFilter cytoscape.util.XGMMLFileFilter
public class XGMMLFileFilter
FileFilter for Reading in XGMML Files.
Field Summary |
---|
Fields inherited from class cytoscape.util.CyFileFilter |
---|
contentTypes, reader |
Constructor Summary | |
---|---|
XGMMLFileFilter()
Constructor. |
Method Summary | |
---|---|
boolean |
accept(File file)
Indicates which files the XGMMLFileFilter accepts. |
boolean |
accept(URL url,
String contentType)
Returns true if this class is capable of processing the specified URL |
GraphReader |
getReader(String fileName)
Gets Graph Reader. |
GraphReader |
getReader(URL url,
URLConnection conn)
Gets Graph Reader. |
Methods inherited from class cytoscape.util.CyFileFilter |
---|
accept, accept, addContentType, addExtension, getDescription, getExtension, getExtension, getExtensionSet, getFileNature, getHeader, getHeader, isExtensionListInDescription, setDescription, setExtensionListInDescription, setFileNature |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XGMMLFileFilter()
Method Detail |
---|
public GraphReader getReader(String fileName)
getReader
in class CyFileFilter
fileName
- File name.
public GraphReader getReader(URL url, URLConnection conn)
getReader
in class CyFileFilter
fileName
- File name.
public boolean accept(File file)
accept
in class CyFileFilter
file
- File
public boolean accept(URL url, String contentType)
CyFileFilter
accept
in class CyFileFilter
url
- the URLcontentType
- the content-type of the URL
|
Cytoscape 2.8.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |