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)
           
 

Method Detail

writeFile

boolean writeFile(java.lang.String filename,
                  java.lang.String format,
                  Resource[] resources,
                  ResourceRelation[] relations)
Parameters:
filename - Name of the file to be written
format - Format of the file to be written - use getFormats() to find out which ones it supports
resources - Resources to be saved to the file
relations - 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.