maito.browsing.fileexport
Interface FileExporter
- All Known Implementing Classes:
- FileExporterImpl
public interface FileExporter
Method Summary |
java.lang.String[] |
getFormats()
Gets a list of file export formats that are supported by the software. |
boolean |
writeFile(java.lang.String filename,
java.lang.String format,
Resource[] resources,
ResourceRelation[] relations)
|
writeFile
boolean writeFile(java.lang.String filename,
java.lang.String format,
Resource[] resources,
ResourceRelation[] relations)
- Parameters:
filename
- Name of the file to be writtenformat
- Format of the file to be written - use getFormats() to find out which ones it supportsresources
- Resources to be saved to the filerelations
- Relations to be saved to the file
- Returns:
- true if save succeeded, false if there was an error
getFormats
java.lang.String[] getFormats()
- Gets a list of file export formats that are supported by the software.
- Returns:
- Identifiers of export formats that the software currently supports.