public class RegExFilterOutputStream extends OutputStream
OutputStream.SafeOutputStream| Constructor and Description |
|---|
RegExFilterOutputStream(OutputStream o,
String regex)
Creates a new
RegExFilterOutputStream. |
| Modifier and Type | Method and Description |
|---|---|
void |
write(int b) |
close, flush, write, writepublic RegExFilterOutputStream(OutputStream o, String regex)
RegExFilterOutputStream.o - the internal OutputStreamregex - the regular expression used to filter each line of the outputString.matches(String)public void write(int b)
throws IOException
write in class OutputStreamIOException