public class PostgreSQLExport extends ExportFormat
Constructor and Description |
---|
PostgreSQLExport() |
Modifier and Type | Method and Description |
---|---|
void |
performExport(BibtexDatabase database,
MetaData metaData,
java.lang.String file,
java.lang.String encoding,
java.util.Set<java.lang.String> keySet)
First method called when user starts the export.
|
finalizeSaveSession, getConsoleName, getDisplayName, getFileFilter, getReader, getSaveSession, setCustomExport, setEncoding
public void performExport(BibtexDatabase database, MetaData metaData, java.lang.String file, java.lang.String encoding, java.util.Set<java.lang.String> keySet) throws java.lang.Exception
performExport
in interface IExportFormat
performExport
in class ExportFormat
database
- The bibtex database from which to export.file
- The filename to which the export should be writtten.encoding
- The encoding to use.keySet
- The set of IDs of the entries to export.metaData
- The database's meta data.java.lang.Exception
- If something goes wrong, feel free to throw an exception. The
error message is shown to the user.java.io.IOException
- if a problem occurred while trying to write to writer
or read from required resources.IExportFormat.performExport(net.sf.jabref.BibtexDatabase,
net.sf.jabref.MetaData, java.lang.String, java.lang.String, java.util.Set)