check here for details on the format ...
| Modifier and Type | Field and Description |
|---|---|
| private static final Pattern | |
| private static final Pattern | |
| private final ImportFormatPreferences | |
| private static final Pattern | |
| private static final Pattern | |
| private static final Pattern |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private void | |
| private void | |
| private EntryType | |
| private void | |
| private void | |
| private boolean | |
| private void | |
| public String | getDescription()
Implements abstract org. Returns the description of the import format. |
| public StandardFileType | getFileType()
Implements abstract org. Returns the type of files that this importer can read |
| public String | getId()
Overrides org. Returns a one-word ID which identifies this importer. |
| public String | getName()
Implements abstract org. Returns the name of this import format. |
| public ParserResult | importDatabase(BufferedReader
the input to read from reader)Implements abstract org. Parse the database in the source. |
| private boolean | |
| private boolean | |
| public boolean | isRecognizedFormat(BufferedReader reader)
Implements abstract org. Check whether the source is in the correct format for this importer. |
| COMPLETE_DATE_PATTERN | back to summary |
|---|---|
| private static final Pattern COMPLETE_DATE_PATTERN | |
| CREATE_DATE_PATTERN | back to summary |
|---|---|
| private static final Pattern CREATE_DATE_PATTERN | |
| importFormatPreferences | back to summary |
|---|---|
| private final ImportFormatPreferences importFormatPreferences | |
| PMC_PATTERN | back to summary |
|---|---|
| private static final Pattern PMC_PATTERN | |
| PMCR_PATTERN | back to summary |
|---|---|
| private static final Pattern PMCR_PATTERN | |
| PMID_PATTERN | back to summary |
|---|---|
| private static final Pattern PMID_PATTERN | |
| MedlinePlainImporter | back to summary |
|---|---|
| public MedlinePlainImporter(ImportFormatPreferences importFormatPreferences) | |
| addAbstract | back to summary |
|---|---|
| private void addAbstract(Map<Field, String> hm, String lab, String value) | |
| addDates | back to summary |
|---|---|
| private void addDates(Map<Field, String> hm, String lab, String val) | |
| addIDs | back to summary |
|---|---|
| private void addIDs(Map<Field, String> hm, String lab, String value) | |
| addSourceType | back to summary |
|---|---|
| private EntryType addSourceType(String value, EntryType type) | |
| addStandardNumber | back to summary |
|---|---|
| private void addStandardNumber(Map<Field, String> hm, String lab, String value) | |
| addTitles | back to summary |
|---|---|
| private void addTitles(Map<Field, String> hm, String lab, String val, EntryType type) | |
| checkLineValidity | back to summary |
|---|---|
| private boolean checkLineValidity(String line) | |
| fixAuthors | back to summary |
|---|---|
| private void fixAuthors(Map<Field, String> hm, String author, Field field) | |
| getDescription | back to summary |
|---|---|
| public String getDescription() Implements abstract org. Doc from org. Returns the description of the import format. The description should specify
| |
| getFileType | back to summary |
|---|---|
| public StandardFileType getFileType() Implements abstract org. Doc from org. Returns the type of files that this importer can read
| |
| getId | back to summary |
|---|---|
| public String getId() Overrides org. Doc from org. Returns a one-word ID which identifies this importer. Used for example, to identify the importer when used from the command line. | |
| getName | back to summary |
|---|---|
| public String getName() Implements abstract org. Doc from org. Returns the name of this import format. The name must be unique. | |
| importDatabase | back to summary |
|---|---|
| public ParserResult importDatabase(BufferedReader reader) throws IOException Implements abstract org. Doc from org. Parse the database in the source. This method can be called in two different contexts - either when importing in a specified format, or when importing in unknown format. In the latter case, JabRef cycles through all available import formats. No error messages or feedback is displayed from individual import formats in this case. If importing in a specified format and an empty library is returned, JabRef reports that no entries were found. This method should never return null.
| |
| isCreateDateFormat | back to summary |
|---|---|
| private boolean isCreateDateFormat(String value) | |
| isDateFormat | back to summary |
|---|---|
| private boolean isDateFormat(String value) | |
| isRecognizedFormat | back to summary |
|---|---|
| public boolean isRecognizedFormat(BufferedReader reader) throws IOException Implements abstract org. Doc from org. Check whether the source is in the correct format for this importer. The effect of this method is primarily to avoid unnecessary processing of files when searching for a suitable import format. If this method returns false, the import routine will move on to the next import format. Thus, the correct behaviour is to return false if it is certain that the file is not of the suitable type, and true otherwise. Returning true is the safe choice if not certain.
| |