Currently, IEEE two column format is supported.
| Modifier and Type | Class and Description |
|---|---|
| private static record |
| Modifier and Type | Field and Description |
|---|---|
| private static final Pattern | |
| private final CitationKeyPatternPreferences | |
| private static final Logger | |
| private static final Pattern | |
| private static final Pattern | |
| private static final Pattern | |
| private static final Pattern | |
| private static final Pattern | |
| private static final Pattern | |
| private static final Pattern | |
| private static final Pattern | |
| private static final Pattern |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | getDescription()
Implements abstract org. Returns the description of the import format. |
| private List | getEntriesFromPDFContent(String contents)
In: |
| public FileType | getFileType()
Implements abstract org. Returns the type of files that this importer can read |
| private String | |
| 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. |
| public ParserResult | importDatabase(Path
the path to the file which should be imported filePath)Overrides org. Parse the database in the specified file. |
| public boolean | isRecognizedFormat(BufferedReader input)
Implements abstract org. Check whether the source is in the correct format for this importer. |
| pack-priv BibEntry | parseReference(String
The number of the reference - used for logging only number, String reference)Example: |
| private static String | updateEntryAndReferenceIfMatches(String reference, Pattern
A pattern matching two groups: The first one to take, the second one to leave at the end of the string pattern, BibEntry result, Field field)
|
| AUTHORS_AND_TITLE_AT_BEGINNING | back to summary |
|---|---|
| private static final Pattern AUTHORS_AND_TITLE_AT_BEGINNING | |
| citationKeyPatternPreferences | back to summary |
|---|---|
| private final CitationKeyPatternPreferences citationKeyPatternPreferences | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| MONTH_AND_YEAR | back to summary |
|---|---|
| private static final Pattern MONTH_AND_YEAR | |
| MONTH_RANGE_AND_YEAR | back to summary |
|---|---|
| private static final Pattern MONTH_RANGE_AND_YEAR | |
| NO | back to summary |
|---|---|
| private static final Pattern NO | |
| PAGE | back to summary |
|---|---|
| private static final Pattern PAGE | |
| PAGES | back to summary |
|---|---|
| private static final Pattern PAGES | |
| REFERENCE_PATTERN | back to summary |
|---|---|
| private static final Pattern REFERENCE_PATTERN | |
| TITLE | back to summary |
|---|---|
| private static final Pattern TITLE | |
| VOLUME | back to summary |
|---|---|
| private static final Pattern VOLUME | |
| YEAR_AT_END | back to summary |
|---|---|
| private static final Pattern YEAR_AT_END | |
| BibliographyFromPdfImporter | back to summary |
|---|---|
| public BibliographyFromPdfImporter(CitationKeyPatternPreferences citationKeyPatternPreferences) | |
| getDescription | back to summary |
|---|---|
| public String getDescription() Implements abstract org. Doc from org. Returns the description of the import format. The description should specify
| |
| getEntriesFromPDFContent | back to summary |
|---|---|
| private List In: | |
| getFileType | back to summary |
|---|---|
| public FileType getFileType() Implements abstract org. Doc from org. Returns the type of files that this importer can read | |
| getLastPageContents | back to summary |
|---|---|
| private String getLastPageContents(org. | |
| 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.
| |
| importDatabase | back to summary |
|---|---|
| public ParserResult importDatabase(Path filePath) Overrides org. Doc from org. Parse the database in the specified file. | |
| isRecognizedFormat | back to summary |
|---|---|
| public boolean isRecognizedFormat(BufferedReader input) 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.
| |
| parseReference | back to summary |
|---|---|
| pack-priv BibEntry parseReference(String number, String reference) Example:
| |
| updateEntryAndReferenceIfMatches | back to summary |
|---|---|
private static String updateEntryAndReferenceIfMatches(String reference, Pattern pattern, BibEntry result, Field field)
| |
| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private final String | reference
Record Component accessed by reference(). |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public final boolean | equals(Object
the reference object with which to compare. o)Implements abstract java. Indicates whether some other object is "equal to" this one. |
| public final int | |
| public String | |
| public String | |
| public final String | toString()
Implements abstract java. Returns a string representation of the record. |
| number | back to summary |
|---|---|
| private final String number Record Component accessed by number(). | |
| reference | back to summary |
|---|---|
| private final String reference Record Component accessed by reference(). | |
| IntermediateData | back to summary |
|---|---|
| private IntermediateData(String number, String reference) | |
| equals | back to summary |
|---|---|
| public final boolean equals(Object o) Implements abstract java. Doc from java. Indicates whether some other object is "equal to" this one. In addition
to the general contract of
R copy = new R(r.c1(), r.c2(), ..., r.cn());
then it must be the case that r.equals(copy).
| |
| hashCode | back to summary |
|---|---|
| public final int hashCode() Implements abstract java. Doc from java. Returns a hash code value for the record.
Obeys the general contract of
| |
| number | back to summary |
|---|---|
| public String number() Record Component getter of number. | |
| reference | back to summary |
|---|---|
| public String reference() Record Component getter of reference. | |
| toString | back to summary |
|---|---|
| public final String toString() Implements abstract java. Doc from java. Returns a string representation of the record.
In accordance with the general contract of In addition to this general contract, record classes must further participate in the invariant that any two records which are equal must produce equal strings. This invariant is necessarily relaxed in the rare case where corresponding equal component values might fail to produce equal strings for themselves.
| |