public interface SequenceFileImporter extends SequenceIdImporter
Loader
class to open Sequence.ImageProvider
interface
and AbstractImageProvider
abstract class helper.SequenceIdImporter
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, getPixels, getThumbnail, getTileHeight, getTileWidth
java.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 (not used yet, keep it to 0)true
if the operation has succeeded and false
otherwise.UnsupportedFormatException
java.io.IOException
boolean acceptFile(java.lang.String path)
true
if the specified file can be opened by the importer.java.util.List<javax.swing.filechooser.FileFilter> getFileFilters()