cytoscape.util
Class GMLFileFilter
java.lang.Object
javax.swing.filechooser.FileFilter
cytoscape.util.CyFileFilter
cytoscape.util.GMLFileFilter
- All Implemented Interfaces:
- FilenameFilter
public class GMLFileFilter
- extends CyFileFilter
FileFilter for Reading in GML Files.
- Author:
- Cytoscape Development Team.
Methods inherited from class cytoscape.util.CyFileFilter |
accept, accept, accept, accept, addContentType, addExtension, getDescription, getExtension, getExtension, getExtensionSet, getFileNature, isExtensionListInDescription, setDescription, setExtensionListInDescription, setFileNature |
GMLFileFilter
public GMLFileFilter()
- Constructor.
getReader
public GraphReader getReader(String fileName)
- Gets GraphReader.
- Overrides:
getReader
in class CyFileFilter
- Parameters:
fileName
- File Name.
- Returns:
- GraphReader Object.
getReader
public GraphReader getReader(URL url,
URLConnection conn)
- Gets Graph Reader.
- Overrides:
getReader
in class CyFileFilter
- Parameters:
fileName
- File name.
- Returns:
- GraphReader Object.