nu.validator.htmlparser.test
Class UntilHashInputStream
java.lang.Object
java.io.InputStream
nu.validator.htmlparser.test.UntilHashInputStream
- All Implemented Interfaces:
- Closeable
public class UntilHashInputStream
- extends InputStream
builder
private final StringBuilder builder
delegate
private final InputStream delegate
buffer
private int buffer
closed
private boolean closed
UntilHashInputStream
public UntilHashInputStream(InputStream delegate)
throws IOException
- Parameters:
delegate
-
- Throws:
IOException
read
public int read()
throws IOException
- Specified by:
read
in class InputStream
- Throws:
IOException
close
public void close()
throws IOException
- Specified by:
close
in interface Closeable
- Overrides:
close
in class InputStream
- Throws:
IOException
- See Also:
InputStream.close()
toString
public String toString()
- Overrides:
toString
in class Object
- See Also:
Object.toString()