public class EntryFromPDFCreator extends EntryFromFileCreator
Constructor and Description |
---|
EntryFromPDFCreator() |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(java.io.File f)
To support platform independence, a creator must define what types of
files it accepts on it's own.
|
protected BibtexEntry |
createBibtexEntry(java.io.File pdfFile) |
java.lang.String |
getFormatName()
Name of this import format.
|
addEntryDataToEntry, addEntrysToEntry, addFileInfo, appendToField, createEntry, getExternalFileType, toString
public boolean accept(java.io.File f)
EntryFromFileCreator
To support platform independence, a creator must define what types of files it accepts on it's own.
Basically, accepting files which end with the file extension that is
described in the nested EntryFromFileCreator.externalFileType
would work on windows
systems. This is also the recommended criterion, on which files should be
accepted.
However, defining what types of files this creator accepts, is a property of entry creators, that is left to the user.
accept
in interface java.io.FileFilter
accept
in class EntryFromFileCreator
protected BibtexEntry createBibtexEntry(java.io.File pdfFile)
createBibtexEntry
in class EntryFromFileCreator
public java.lang.String getFormatName()
EntryFromFileCreator
The name must be unique.
getFormatName
in class EntryFromFileCreator
null