public class Exporter
extends java.lang.Object
Constructor and Description |
---|
Exporter(Publication p)
Builds up the citation context (a VelocityContext object) from the publication
data.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
export(int formatIndex)
Merges the specified format template with the context.
|
static java.util.List<java.lang.String> |
getFormatList() |
public Exporter(Publication p)
p
- Publication to be exported.public java.lang.String export(int formatIndex)
formatIndex
- The index of the format (the template) in the global list.public static java.util.List<java.lang.String> getFormatList()