public class BibtexImporter extends ImportFormat
Constructor and Description |
---|
BibtexImporter() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getExtensions()
Extensions that this importer can read.
|
java.lang.String |
getFormatName()
Name of this import format.
|
java.util.List<BibtexEntry> |
importEntries(java.io.InputStream in,
OutputPrinter status)
Parses the given input stream.
|
boolean |
isRecognizedFormat(java.io.InputStream in)
Check whether the source is in the correct format for this importer.
|
compareTo, equals, getCLIId, getDescription, getIsCustomImporter, hashCode, setIsCustomImporter, toString
public boolean isRecognizedFormat(java.io.InputStream in) throws java.io.IOException
ImportFormat
isRecognizedFormat
in class ImportFormat
java.io.IOException
public java.util.List<BibtexEntry> importEntries(java.io.InputStream in, OutputPrinter status) throws java.io.IOException
importEntries
in class ImportFormat
in
- the inputStream to read fromstatus
- the OutputPrinter to put status tojava.io.IOException
public java.lang.String getFormatName()
ImportFormat
The name must be unique.
getFormatName
in class ImportFormat
null
public java.lang.String getExtensions()
ImportFormat
getExtensions
in class ImportFormat
null
for the default