public class BibTeXReader
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
BibTeXReader.BibTeXItem |
Constructor and Description |
---|
BibTeXReader(java.io.BufferedReader bure) |
BibTeXReader(java.io.File file)
Constructs a new text file reader and opens the file as specified searching in the path.
|
BibTeXReader(java.io.File file,
java.nio.charset.Charset charset)
Constructs a new BibTeX reader and opens the file as specified searching in the path.
|
BibTeXReader(java.io.InputStreamReader isr) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the text file reader.
|
BibTeXReader.BibTeXItem |
getItem() |
java.lang.String |
getSection()
Return the Section as previously read by nextSection().
|
boolean |
nextSection()
Reads the next section and buffers it to be fetched by getSection.
|
public BibTeXReader(java.io.File file) throws java.io.FileNotFoundException
fileName
- the name of the file to usejava.io.FileNotFoundException
public BibTeXReader(java.io.File file, java.nio.charset.Charset charset) throws java.io.FileNotFoundException
fileName
- the name of the file to usecharset
- the Charset to usejava.io.FileNotFoundException
public BibTeXReader(java.io.InputStreamReader isr)
public BibTeXReader(java.io.BufferedReader bure)
public boolean nextSection() throws java.io.IOException
java.io.IOException
public java.lang.String getSection()
nextSection()
public BibTeXReader.BibTeXItem getItem()
public void close() throws java.io.IOException
java.io.IOException
Copyright 1998-2023 Christoph Mueller, Kaerntner Str. 56, D-70469 Stuttgart, Germany, https://www.perpus.de