public interface IFormatHandler extends java.io.Closeable, IMetadataConfigurable
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFormat()
Gets the name of this file format.
|
java.lang.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) . |
java.lang.String[] |
getSuffixes()
Gets the default file suffixes for this file format.
|
boolean |
isThisType(java.lang.String name)
Checks if the given string is a valid filename for this file format.
|
void |
setId(java.lang.String id)
Sets the current file name.
|
getMetadataOptions, getSupportedMetadataLevels, setMetadataOptions
boolean isThisType(java.lang.String name)
java.lang.String getFormat()
java.lang.String[] getSuffixes()
java.lang.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(java.lang.String id) throws FormatException, java.io.IOException
FormatException
java.io.IOException
Copyright © 2017 Open Microscopy Environment