public interface FileHandler
Modifier and Type | Method and Description |
---|---|
boolean |
accept(File file)
Returns true if this file handler is able to open the file
|
FileFilter |
getFileFilter()
Returns a file filter suitable for using in a FileOpen dialog.
|
void |
openFile(File file)
Opens a given file.
|
boolean accept(File file) throws IOException
file
- The file to testIOException
FileFilter getFileFilter()
void openFile(File file) throws IOException
file
- The file to openIOException
Copyright © 2018. All rights reserved.