public interface SequenceFileImporter extends SequenceIdImporter
Loader
class to open Sequence.ImageProvider
interface
and AbstractImageProvider
abstract class helper.SequenceIdImporter
FLAG_METADATA_ALL, FLAG_METADATA_MASK, FLAG_METADATA_MINIMUM
Modifier and Type | Method and Description |
---|---|
boolean |
acceptFile(java.lang.String path)
Return
true if the specified file can be opened by the importer |
java.util.List<javax.swing.filechooser.FileFilter> |
getFileFilters()
Return the supported FileFilter for this importer.
|
java.lang.String |
getOpened() |
boolean |
open(java.lang.String path,
int flags)
Open the image designed by the specified file
path to allow image data / metadata access. |
close
getImage, getImage, getImage, getImage, getImage, getImage, getMetaData, getOMEXMLMetaData, getPixels, getThumbnail, getTileHeight, getTileWidth, isResolutionAvailable
boolean acceptFile(java.lang.String path)
true
if the specified file can be opened by the importerjava.lang.String getOpened()
getOpened
in interface SequenceIdImporter
null
otherwise.FileUtil.getGenericPath(String)
method).open(String, int)
,
SequenceIdImporter.close()
boolean open(java.lang.String path, int flags) throws UnsupportedFormatException, java.io.IOException
path
to allow image data / metadata access.SequenceIdImporter.close()
to close the image when you're done.open
in interface SequenceIdImporter
path
- Path of the image file to open.flags
- operation flag:SequenceIdImporter.FLAG_METADATA_MINIMUM
= load minimum metadata informationsSequenceIdImporter.FLAG_METADATA_ALL
= load all metadata informationstrue
if the operation has succeeded and false
otherwise.UnsupportedFormatException
java.io.IOException
java.util.List<javax.swing.filechooser.FileFilter> getFileFilters()