Top Fields Constructors Methods
org.jbibtex

public Class CharacterFilterReader

extends FilterReader
Class Inheritance
Imports
java.io.FilterReader, .IOException, .Reader

Field Summary

Inherited from java.io.FilterReader:
in

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected boolean

Returns:

true If the specified character should be accepted, false otherwise.
accept
(char c)

public int
read()

Overrides java.io.FilterReader.read.

Reads a single character.

public int
read(char[] buffer, final int offset, final int length)

Overrides java.io.FilterReader.read.

Reads characters into a portion of an array.

Inherited from java.io.FilterReader:
closemarkmarkSupportedreadyresetskip

Constructor Detail

CharacterFilterReaderback to summary
public CharacterFilterReader(Reader reader)

Method Detail

acceptback to summary
protected boolean accept(char c)
Returns:boolean

true If the specified character should be accepted, false otherwise.

See Also
BibTeXParserTokenManager, LaTeXParserTokenManager
readback to summary
public int read() throws IOException

Overrides java.io.FilterReader.read.

Doc from java.io.FilterReader.read.

Reads a single character.

Annotations
@Override
Exceptions
IOException:
If an I/O error occurs
readback to summary
public int read(char[] buffer, final int offset, final int length) throws IOException

Overrides java.io.FilterReader.read.

Doc from java.io.FilterReader.read.

Reads characters into a portion of an array. This method will block until some input is available, an I/O error occurs, or the end of the stream is reached.

If len is zero, then no characters are read and 0 is returned; otherwise, there is an attempt to read at least one character. If no character is available because the stream is at its end, the value -1 is returned; otherwise, at least one character is read and stored into cbuf.

Annotations
@Override
Exceptions
IOException:

Doc from java.io.Reader.read.

If an I/O error occurs