|
Cytoscape 3.0.0-beta1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CyFileFilter
An interface that captures the metadata description of a file type so that files of the specified type can be handled correctly by the application and the user interface.
Method Summary | |
---|---|
boolean |
accepts(InputStream stream,
DataCategory category)
A method that attempts to determine whether the specified InputStream can be read by the Reader using this filter. |
boolean |
accepts(URI uri,
DataCategory category)
A method that attempts to determine whether the specified URI can be read by the Reader using this filter. |
Set<String> |
getContentTypes()
The MIME content types supported by this filter. |
DataCategory |
getDataCategory()
The DataCategory supported by this filter. |
String |
getDescription()
A short, human readable description of the file extensions suitable for display in FileChoosers. |
Set<String> |
getExtensions()
Returns a list of file extensions (xml, xgmml, sif) suitable for for use in FileChoosers. |
Method Detail |
---|
boolean accepts(URI uri, DataCategory category)
uri
- The URI to be checked.category
- The data category of URI.
boolean accepts(InputStream stream, DataCategory category)
stream
- The input steam to be checked.category
- The data category of the input steam.
Set<String> getExtensions()
Set<String> getContentTypes()
String getDescription()
DataCategory getDataCategory()
|
Cytoscape 3.0.0-beta1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |