|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.io.InputStream
java.io.FilterInputStream
gnu.regexp.REFilterInputStream
public class REFilterInputStream
Replaces instances of a given RE found within an InputStream with replacement text. The replacements are interpolated into the stream when a match is found.
| Field Summary |
|---|
| Fields inherited from class java.io.FilterInputStream |
|---|
in |
| Constructor Summary | |
|---|---|
REFilterInputStream(java.io.InputStream stream,
RE expr,
java.lang.String replace)
Deprecated. Creates an REFilterInputStream. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.io.FilterInputStream |
|---|
available, close, mark, reset, skip |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
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.| Method Detail |
|---|
public int read()
read in class java.io.FilterInputStreampublic boolean markSupported()
markSupported in class java.io.FilterInputStream
public int read(byte[] b,
int off,
int len)
read in class java.io.FilterInputStreampublic int read(byte[] b)
read in class java.io.FilterInputStream
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||