|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IFormatHandler
Interface for all biological file format readers and writers.
Method Summary | |
---|---|
void |
close()
Closes currently open file(s) and frees allocated memory. |
String |
getFormat()
Gets the name of this file format. |
String[] |
getSuffixes()
Gets the default file suffixes for this file format. |
boolean |
isThisType(String name)
Checks if the given string is a valid filename for this file format. |
boolean |
isThisType(String name,
boolean open)
Checks if the given string is a valid filename for this file format. |
void |
setId(String id)
Sets the current file name. |
void |
setId(String id,
boolean force)
Sets the current file name. |
Methods inherited from interface loci.formats.StatusReporter |
---|
addStatusListener, getStatusListeners, removeStatusListener |
Method Detail |
---|
boolean isThisType(String name)
boolean isThisType(String name, boolean open)
open
- If true, and the file extension is insufficient to determine
the file type, the (existing) file is opened for further analysis.String getFormat()
String[] getSuffixes()
void setId(String id) throws FormatException, IOException
FormatException
IOException
void setId(String id, boolean force) throws FormatException, IOException
force
- If set, the handler will be re-initialized no matter what.
FormatException
IOException
void close() throws IOException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |