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 | Field and Description |
|---|---|
static int |
FLAG_METADATA_ALL
Flag to indicate we want to load all possible metadata
|
static int |
FLAG_METADATA_MASK |
static int |
FLAG_METADATA_MINIMUM
Flag to indicate we want to load only mandatory metadata informations (faster metadata loading)
|
| 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, getOMEXMLMetaData, getPixels, getThumbnail, getTileHeight, getTileWidth, isResolutionAvailablestatic final int FLAG_METADATA_MASK
static final int FLAG_METADATA_MINIMUM
static final int FLAG_METADATA_ALL
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:FLAG_METADATA_MINIMUM = load minimum metadata informationsFLAG_METADATA_ALL = load all metadata informationstrue if the operation has succeeded and false otherwise.UnsupportedFormatExceptionjava.io.IOExceptionvoid close() throws java.io.IOException
open(String, int) method.close in interface java.lang.AutoCloseableclose in interface java.io.Closeablejava.io.IOException