public class BibTeXReader
extends java.lang.Object
BibMark
objectsConstructor and Description |
---|
BibTeXReader(java.io.File file,
java.lang.String sEncoding)
Construct a new
BibTeXReader based on a file |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,BibMark> |
getEntries()
Get the entries of this BibTeX file
|
java.io.File |
getFile()
Get the file associated with this
BibTeXReader |
void |
reload()
Parse the contents of the file, replacing any previous entries in this
BibTeXReader |
public BibTeXReader(java.io.File file, java.lang.String sEncoding) throws java.io.IOException, org.jbibtex.ParseException
BibTeXReader
based on a filefile
- the file to readsEncoding
- the character encoding of the filejava.io.IOException
- if any error occurs reading the fileorg.jbibtex.ParseException
- if any error occurs interpreting the contents of the filepublic void reload() throws java.io.IOException, org.jbibtex.ParseException
BibTeXReader
java.io.IOException
org.jbibtex.ParseException
public java.io.File getFile()
BibTeXReader
public java.util.Map<java.lang.String,BibMark> getEntries()