public interface IExportFormat
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getConsoleName()
Name to call this format in the console.
|
java.lang.String |
getDisplayName()
Name to display to the user (for instance in the Save file format drop
down box.
|
javax.swing.filechooser.FileFilter |
getFileFilter()
A file filter that accepts filetypes that this exporter would create.
|
void |
performExport(BibtexDatabase database,
MetaData metaData,
java.lang.String file,
java.lang.String encoding,
java.util.Set<java.lang.String> entryIds)
Perform the export.
|
java.lang.String getConsoleName()
java.lang.String getDisplayName()
javax.swing.filechooser.FileFilter getFileFilter()
void performExport(BibtexDatabase database, MetaData metaData, java.lang.String file, java.lang.String encoding, java.util.Set<java.lang.String> entryIds) throws java.lang.Exception
database
- The database to export from.metaData
- The database's metadata.file
- The filename to write to.encoding
- The encoding to use.entryIds
- (may be null) A Set containing the IDs of all entries that
should be exported. If null, all entries will be exported.java.lang.Exception
#performExport(BibtexDatabase, Set, Writer)