|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FileHandler
An interface to be implemented by services which can open files.
Method Summary | |
---|---|
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. |
Method Detail |
---|
boolean accept(File file) throws IOException
file
- The file to test
IOException
FileFilter getFileFilter()
void openFile(File file) throws IOException
file
- The file to open
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |