public class LookAheadStreamCaseInsensitive extends LookAheadStream
Buffer, BufIndex, BufLen, EndMarker, EOF, MarkerLen, ParentStream
Constructor and Description |
---|
LookAheadStreamCaseInsensitive(InputStream parent,
String endMarker)
Create a LookAheadStream that is case insensitive.
|
LookAheadStreamCaseInsensitive(InputStream parent,
String endMarker,
String encoding)
Create a LookAheadStream that is case insensitive.
|
Modifier and Type | Method and Description |
---|---|
int |
read()
Read a character from the parent stream, first checking that
it doesn't form part of the end marker.
|
close, mark, markSupported, read, read, ready, reset, skip
available
public LookAheadStreamCaseInsensitive(InputStream parent, String endMarker)
parent
- The InputStream to wrapendMarker
- the marker at which to give EOFpublic LookAheadStreamCaseInsensitive(InputStream parent, String endMarker, String encoding) throws UnsupportedEncodingException
parent
- The InputStream to wrapendMarker
- the marker at which to give EOFencoding
- name for encodingUnsupportedEncodingException
public int read() throws IOException
read
in class LookAheadStream
IOException
- if there is any error while reading from the stream.Terrier 4.0. Copyright © 2004-2014 University of Glasgow