public class REFilterInputStream
extends java.io.FilterInputStream
| Constructor and Description |
|---|
REFilterInputStream(java.io.InputStream stream,
RE expr,
java.lang.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.
|
public REFilterInputStream(java.io.InputStream stream,
RE expr,
java.lang.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 java.io.FilterInputStreampublic boolean markSupported()
markSupported in class java.io.FilterInputStreampublic int read(byte[] b,
int off,
int len)
read in class java.io.FilterInputStreampublic int read(byte[] b)
read in class java.io.FilterInputStream