|
||||||||||
| 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
Replaces instances of a given RE with replacement text.
| Field Summary |
| Fields inherited from class java.io.FilterInputStream |
in |
| Constructor Summary | |
REFilterInputStream(InputStream f_stream,
RE f_expr,
String f_replace)
Creates an REFilterInputStream. |
|
| Method Summary | |
boolean |
markSupported()
Returns false. |
int |
read()
Reads the next byte from the stream per the general contract of InputStream.read(). |
int |
read(byte[] b)
Reads from the stream into the provided array. |
int |
read(byte[] b,
int off,
int len)
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(InputStream f_stream,
RE f_expr,
String f_replace)
f_stream - The InputStream to be filtered.f_expr - The regular expression to search for.f_replace - The text pattern to replace matches with.| Method Detail |
public int read()
public boolean markSupported()
public int read(byte[] b,
int off,
int len)
public int read(byte[] b)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||