public class BstWrapper
extends java.lang.Object
Constructor and Description |
---|
BstWrapper() |
Modifier and Type | Method and Description |
---|---|
void |
loadBstFile(java.io.File f)
Set the bst file to be used for processing.
|
java.util.Map<java.lang.String,java.lang.String> |
processEntries(java.util.Collection<BibtexEntry> entries,
BibtexDatabase database)
Use the instructions of the loaded bst file for processing a collection of entries.
|
public void loadBstFile(java.io.File f) throws java.io.IOException, org.antlr.runtime.RecognitionException
f
- The bst file to load.java.io.IOException
- On IO errors.org.antlr.runtime.RecognitionException
- On parsing errors.public java.util.Map<java.lang.String,java.lang.String> processEntries(java.util.Collection<BibtexEntry> entries, BibtexDatabase database)
entries
- The entries to process.database
- The database the entries belong to.