Cytoscape 3.0.1 API

org.cytoscape.io.read
Class AbstractInputStreamTaskFactory

java.lang.Object
  extended by org.cytoscape.io.read.AbstractInputStreamTaskFactory
All Implemented Interfaces:
CyFileFilterProvider, InputStreamTaskFactory

public abstract class AbstractInputStreamTaskFactory
extends Object
implements InputStreamTaskFactory


Constructor Summary
AbstractInputStreamTaskFactory(CyFileFilter fileFilter)
           
 
Method Summary
 CyFileFilter getFileFilter()
          Return the file filter associated with the IOFactory.
 boolean isReady(InputStream is, String inputName)
          Returns true if the factory is ready to be produce a TaskIterator and false otherwise.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.cytoscape.io.read.InputStreamTaskFactory
createTaskIterator
 

Constructor Detail

AbstractInputStreamTaskFactory

public AbstractInputStreamTaskFactory(CyFileFilter fileFilter)
Method Detail

isReady

public boolean isReady(InputStream is,
                       String inputName)
Returns true if the factory is ready to be produce a TaskIterator and false otherwise.

Specified by:
isReady in interface InputStreamTaskFactory
Parameters:
is - The InputStream to be read.
inputName - The name of the input.
Returns:
true if the factory is ready to be produce a TaskIterator and false otherwise.

getFileFilter

public CyFileFilter getFileFilter()
Return the file filter associated with the IOFactory.

Specified by:
getFileFilter in interface CyFileFilterProvider
Returns:
the CyFileFilter associated with the IOFactory.

Cytoscape 3.0.1 API

Copyright 2011 Cytoscape Consortium. All rights reserved.