public class REFilterInputStream extends FilterInputStream
Modifier and Type | Field and Description |
---|---|
private String |
buffer
Deprecated.
|
private int |
bufpos
Deprecated.
|
private RE |
expr
Deprecated.
|
private int |
offset
Deprecated.
|
private String |
replace
Deprecated.
|
private CharIndexedInputStream |
stream
Deprecated.
|
in
Constructor and Description |
---|
REFilterInputStream(InputStream stream,
RE expr,
String replace)
Deprecated.
Creates an REFilterInputStream.
|
Modifier and Type | Method and Description |
---|---|
boolean |
markSupported()
Deprecated.
Returns false.
|
int |
read()
Deprecated.
Reads the next byte from the stream per the general contract of
InputStream.read().
|
int |
read(byte[] b)
Deprecated.
Reads from the stream into the provided array.
|
int |
read(byte[] b,
int off,
int len)
Deprecated.
Reads from the stream into the provided array.
|
private int bufpos
private int offset
private CharIndexedInputStream stream
public REFilterInputStream(InputStream stream, RE expr, String replace)
stream
- The InputStream to be filtered.expr
- The regular expression to search for.replace
- The text pattern to replace matches with.public int read()
read
in class FilterInputStream
public boolean markSupported()
markSupported
in class FilterInputStream
public int read(byte[] b, int off, int len)
read
in class FilterInputStream
public int read(byte[] b)
read
in class FilterInputStream
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses