public class LoggingInputStream extends InputStream
| Modifier and Type | Field and Description |
|---|---|
protected StringBuilder |
line |
protected LogCompat |
log |
protected InputStream |
wrapped |
| Modifier | Constructor and Description |
|---|---|
protected |
LoggingInputStream(InputStream wrapped,
LogCompat log) |
protected InputStream wrapped
protected LogCompat log
protected StringBuilder line
protected LoggingInputStream(InputStream wrapped, LogCompat log)
public int available()
throws IOException
available in class InputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class InputStreamIOExceptionpublic void mark(int readlimit)
mark in class InputStreampublic boolean markSupported()
markSupported in class InputStreampublic int read(byte[] bytes)
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] bytes,
int offset,
int length)
throws IOException
read in class InputStreamIOExceptionpublic int read()
throws IOException
read in class InputStreamIOExceptionpublic void reset()
throws IOException
reset in class InputStreamIOExceptionpublic long skip(long n)
throws IOException
skip in class InputStreamIOExceptionprotected void dump()
Copyright © 2012. All Rights Reserved.