public class RegExFilterOutputStream extends OutputStream
OutputStream.SafeOutputStream| Constructor and Description |
|---|
RegExFilterOutputStream(OutputStream o,
String regex)
Creates a new
RegExFilterOutputStream. |
public 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