public class DebugInputStream extends InputStreamDecorator
Constructor and Description |
---|
DebugInputStream(InputStream in) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected OutputStream |
getOut()
Get the output stream to write to.
|
void |
mark(int arg0) |
boolean |
markSupported() |
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
void |
reset() |
long |
skip(long n) |
available, toString
public DebugInputStream(InputStream in)
protected OutputStream getOut()
null
if it could not be
createdpublic void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class InputStreamDecorator
IOException
InputStream.close()
public void mark(int arg0)
mark
in class InputStreamDecorator
InputStream.mark(int)
public boolean markSupported()
markSupported
in class InputStreamDecorator
InputStream.markSupported()
public int read() throws IOException
read
in class InputStreamDecorator
IOException
InputStream.read()
public int read(byte[] b, int off, int len) throws IOException
read
in class InputStreamDecorator
IOException
InputStream.read(byte[], int, int)
public int read(byte[] b) throws IOException
read
in class InputStreamDecorator
IOException
InputStream.read(byte[])
public void reset() throws IOException
reset
in class InputStreamDecorator
IOException
InputStream.reset()
public long skip(long n) throws IOException
skip
in class InputStreamDecorator
IOException
InputStream.skip(long)
Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a