public interface FileImporter
SequenceFileImporter interface for image file).| 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.
|
boolean |
load(java.lang.String path,
FileFrame loadingFrame)
Load the specified file and returns true if the operation succeed.
|
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()
boolean load(java.lang.String path, FileFrame loadingFrame) throws UnsupportedFormatException, java.io.IOException
path - File to load.loadingFrame - Frame where to display the loading progression (can be null if no
progression wanted)true if the operation succeedUnsupportedFormatExceptionjava.io.IOException