|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FileSourcedConverter
Interface to a loader/saver that loads/saves from a file source.
| Method Summary | |
|---|---|
String |
getFileDescription()
Get a one line description of the type of file |
String |
getFileExtension()
Get the file extension used for this type of file |
String[] |
getFileExtensions()
Gets all the file extensions used for this type of file |
boolean |
getUseRelativePath()
Gets whether relative paths are to be used |
File |
retrieveFile()
Return the current source file/ destination file |
void |
setFile(File file)
Set the file to load from/ to save in |
void |
setUseRelativePath(boolean rp)
Set whether to use relative rather than absolute paths |
| Method Detail |
|---|
String getFileExtension()
String[] getFileExtensions()
String getFileDescription()
void setFile(File file)
throws IOException
file - the file to load from
IOException - if an error occursFile retrieveFile()
File valuevoid setUseRelativePath(boolean rp)
rp - true if relative paths are to be usedboolean getUseRelativePath()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||