Package org.cytoscape.io.read
Class AbstractInputStreamTaskFactory
java.lang.Object
org.cytoscape.io.read.AbstractInputStreamTaskFactory
- All Implemented Interfaces:
CyFileFilterProvider
,InputStreamTaskFactory
public abstract class AbstractInputStreamTaskFactory
extends Object
implements InputStreamTaskFactory
TODO: Missing documentation
Cytoscape Backwards Compatibility (Abstract Class): This class is abstract and meant to be extended by users. This means that we may add methods for minor version updates. Methods will only be removed for major version updates.
Module: io-api
To use this in your app, include the following dependency in your POM:
<dependency> <groupId>org.cytoscape</groupId> <artifactId>io-api</artifactId> </dependency>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturn 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 Details
-
AbstractInputStreamTaskFactory
-
-
Method Details
-
isReady
Returns true if the factory is ready to be produce a TaskIterator and false otherwise.- Specified by:
isReady
in interfaceInputStreamTaskFactory
- Parameters:
is
- TheInputStream
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
Return the file filter associated with the IOFactory.- Specified by:
getFileFilter
in interfaceCyFileFilterProvider
- Returns:
- the
CyFileFilter
associated with the IOFactory.
-