public interface SequenceIdImporter extends ImageProvider, java.io.Closeable
Sequence
importer.ImageProvider
interface
and AbstractImageProvider
abstract class helper.
Note that you have SequenceFileImporter
interface which allow to import Sequence
from file(s).Modifier and Type | Method and Description |
---|---|
void |
close()
Close the image which has been previously opened with
open(String, int) method. |
java.lang.String |
getOpened() |
boolean |
open(java.lang.String id,
int flags)
Open the image designed by the specified
id to allow image data / metadata
access. |
getImage, getImage, getImage, getImage, getImage, getImage, getMetaData, getPixels, getThumbnail, getTileHeight, getTileWidth
java.lang.String getOpened()
id
of the image currently opened or null
otherwise.open(String, int)
,
close()
boolean open(java.lang.String id, int flags) throws UnsupportedFormatException, java.io.IOException
id
to allow image data / metadata
access.close()
to close the image when you're done.id
- Image id, it can be a file path or URL or whatever depending the internal
import method.flags
- operation flag (not used yet, keep it to 0)true
if the operation has succeeded and false
otherwise.UnsupportedFormatException
java.io.IOException
void close() throws java.io.IOException
open(String, int)
method.close
in interface java.lang.AutoCloseable
close
in interface java.io.Closeable
java.io.IOException