public interface IFormatHandler extends Closeable, IMetadataConfigurable
| Modifier and Type | Method and Description |
|---|---|
String |
getFormat()
Gets the name of this file format.
|
Class<?> |
getNativeDataType()
Returns the native data type of image planes for this reader, as returned
by
IFormatReader.openPlane(int, int, int, int, int) or IFormatWriter.savePlane(int, java.lang.Object). |
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.
|
void |
setId(String id)
Sets the current file name.
|
getMetadataOptions, getSupportedMetadataLevels, setMetadataOptionsboolean isThisType(String name)
String getFormat()
String[] getSuffixes()
Class<?> getNativeDataType()
IFormatReader.openPlane(int, int, int, int, int) or IFormatWriter.savePlane(int, java.lang.Object).
For most readers this type will be a byte array; however, some readers
call external APIs that work with other types such as
BufferedImage.void setId(String id) throws FormatException, IOException
FormatExceptionIOExceptionCopyright © 2017 Open Microscopy Environment