public interface FileSourcedConverter
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getFileDescription()
Get a one line description of the type of file
|
java.lang.String |
getFileExtension()
Get the file extension used for this type of file
|
java.lang.String[] |
getFileExtensions()
Gets all the file extensions used for this type of file
|
boolean |
getUseRelativePath()
Gets whether relative paths are to be used
|
java.io.File |
retrieveFile()
Return the current source file/ destination file
|
void |
setFile(java.io.File file)
Set the file to load from/ to save in
|
void |
setUseRelativePath(boolean rp)
Set whether to use relative rather than absolute paths
|
java.lang.String getFileExtension()
java.lang.String[] getFileExtensions()
java.lang.String getFileDescription()
void setFile(java.io.File file)
throws java.io.IOException
file - the file to load fromjava.io.IOException - if an error occursjava.io.File retrieveFile()
File valuevoid setUseRelativePath(boolean rp)
rp - true if relative paths are to be usedboolean getUseRelativePath()