public class WrappedInputStream extends InputStream
InputStream. Pass through of all
InputStream methods.| Constructor and Description |
|---|
WrappedInputStream(InputStream aWrappedIS) |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
void |
close() |
InputStream |
getWrappedInputStream() |
void |
mark(int nReadlimit) |
boolean |
markSupported() |
int |
read() |
int |
read(byte[] aBuf) |
int |
read(byte[] aBuf,
int nOfs,
int nLen) |
void |
reset() |
long |
skip(long n) |
String |
toString() |
public WrappedInputStream(@Nonnull InputStream aWrappedIS)
@Nonnull public InputStream getWrappedInputStream()
public int read()
throws IOException
read in class InputStreamIOExceptionpublic final int read(@Nonnull byte[] aBuf) throws IOException
read in class InputStreamIOExceptionpublic int read(@Nonnull byte[] aBuf, @Nonnegative int nOfs, @Nonnegative int nLen) throws IOException
read in class InputStreamIOExceptionpublic long skip(@Nonnegative long n) throws IOException
skip in class InputStreamIOExceptionpublic int available()
throws IOException
available in class InputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class InputStreamIOExceptionpublic void mark(@Nonnegative int nReadlimit)
mark in class InputStreampublic void reset()
throws IOException
reset in class InputStreamIOExceptionpublic boolean markSupported()
markSupported in class InputStreamCopyright © 2006–2015 phloc systems. All rights reserved.