public class PluginBasedExportFormat extends ExportFormat
Modifier and Type | Field and Description |
---|---|
_JabRefPlugin.ExportFormatTemplateExtension |
extension |
Constructor and Description |
---|
PluginBasedExportFormat(java.lang.String displayName,
java.lang.String consoleName,
java.lang.String layoutFileName,
java.lang.String fileExtension,
java.lang.String encoding,
_JabRefPlugin.ExportFormatTemplateExtension extension) |
Modifier and Type | Method and Description |
---|---|
static PluginBasedExportFormat |
getFormat(_JabRefPlugin.ExportFormatTemplateExtension extension)
Load the plugin from the given extension.
|
java.io.Reader |
getReader(java.lang.String filename)
This method should return a reader from which the given layout file can
be read.
|
finalizeSaveSession, getConsoleName, getDisplayName, getFileFilter, getSaveSession, performExport, setCustomExport, setEncoding
public _JabRefPlugin.ExportFormatTemplateExtension extension
public PluginBasedExportFormat(java.lang.String displayName, java.lang.String consoleName, java.lang.String layoutFileName, java.lang.String fileExtension, java.lang.String encoding, _JabRefPlugin.ExportFormatTemplateExtension extension)
public static PluginBasedExportFormat getFormat(_JabRefPlugin.ExportFormatTemplateExtension extension)
extension
- public java.io.Reader getReader(java.lang.String filename) throws java.io.IOException
ExportFormat
FileActions.getReader(String)
method.
Subclasses of ExportFormat are free to override and provide their own
implementation.getReader
in class ExportFormat
filename
- the file namejava.io.IOException
- if the reader could not be created