writer2latex.bibtex
public class BibTeXDocument extends Object implements Document
Class representing a BibTeX document.
Constructor Summary | |
---|---|
BibTeXDocument(String sName) Constructs a new BibTeX Document. This new document is empty. |
Method Summary | |
---|---|
boolean | containsKey(String sIdentifier) |
String | getExportName(String sIdentifier) |
static String | getFieldName(int nField) Return BibTeX name of field |
String | getFileName() Returns the |
String | getName() Returns the |
void | put(BibMark entry) |
void | read(InputStream docData) This method is supposed to read |
void | write(OutputStream os) Writes out the This method may not be thread-safe. |
Constructs a new BibTeX Document.
This new document is empty. Bibliographic data must added
using the put
method.
Parameters: name The name of the BibTeXDocument
.
Return BibTeX name of field
Returns the Document
name with file extension.
Returns: The Document
name with file extension.
Returns the Document
name with no file extension.
Returns: The Document
name with no file extension.
This method is supposed to read byte
data from the InputStream.
Currently it does nothing, since we don't need it.
Parameters: is InputStream containing a BibTeX data file.
Throws: IOException In case of any I/O errors.
Writes out the Document
content to the specified
OutputStream
.
This method may not be thread-safe. Implementations may or may not synchronize this method. User code (i.e. caller) must make sure that calls to this method are thread-safe.
Parameters: os OutputStream
to write out the
Document
content.
Throws: IOException If any I/O error occurs.