public class MedlineImporter extends ImportFormat
Constructor and Description |
---|
MedlineImporter() |
Modifier and Type | Method and Description |
---|---|
static java.util.List<BibtexEntry> |
fetchMedline(java.lang.String id,
OutputPrinter status)
Fetch and parse an medline item from eutils.ncbi.nlm.nih.gov.
|
java.lang.String |
getCLIId()
Short, one token ID to identify the format from the command line.
|
java.lang.String |
getFormatName()
Return the name of this import format.
|
java.util.List<BibtexEntry> |
importEntries(java.io.InputStream stream,
OutputPrinter status)
Parse the entries in the source, and return a List of BibtexEntry
objects.
|
boolean |
isRecognizedFormat(java.io.InputStream stream)
Check whether the source is in the correct format for this importer.
|
compareTo, equals, getDescription, getExtensions, getIsCustomImporter, hashCode, setIsCustomImporter, toString
public java.lang.String getFormatName()
getFormatName
in class ImportFormat
null
public java.lang.String getCLIId()
ImportFormat
getCLIId
in class ImportFormat
public boolean isRecognizedFormat(java.io.InputStream stream) throws java.io.IOException
isRecognizedFormat
in class ImportFormat
java.io.IOException
public static java.util.List<BibtexEntry> fetchMedline(java.lang.String id, OutputPrinter status)
id
- One or several ids, separated by ","public java.util.List<BibtexEntry> importEntries(java.io.InputStream stream, OutputPrinter status) throws java.io.IOException
importEntries
in class ImportFormat
java.io.IOException