Cytoscape 2.6.2 (c) 2006,2007 ISB, MSKCC, UCSD

cytoscape.util
Class GMLFileFilter

java.lang.Object
  extended by javax.swing.filechooser.FileFilter
      extended by cytoscape.util.CyFileFilter
          extended by cytoscape.util.GMLFileFilter
All Implemented Interfaces:
FilenameFilter

public class GMLFileFilter
extends CyFileFilter

FileFilter for Reading in GML Files.

Author:
Cytoscape Development Team.

Constructor Summary
GMLFileFilter()
          Constructor.
 
Method Summary
 GraphReader getReader(String fileName)
          Gets GraphReader.
 GraphReader getReader(URL url, URLConnection conn)
          Gets Graph Reader.
 
Methods inherited from class cytoscape.util.CyFileFilter
accept, accept, accept, accept, addContentType, addExtension, getDescription, getExtension, getExtension, getExtensionSet, getFileNature, isExtensionListInDescription, setDescription, setExtensionListInDescription, setFileNature
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GMLFileFilter

public GMLFileFilter()
Constructor.

Method Detail

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.

www.cytoscape.org