Class DelegatingInputStream
- java.lang.Object
- 
- java.io.InputStream
- 
- org.apache.johnzon.mapper.internal.DelegatingInputStream
 
 
- 
- All Implemented Interfaces:
- Closeable,- AutoCloseable
 
 public class DelegatingInputStream extends InputStream 
- 
- 
Field SummaryFields Modifier and Type Field Description private InputStreaminputStream
 - 
Constructor SummaryConstructors Constructor Description DelegatingInputStream(InputStream inputStream)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description intavailable()voidclose()voidmark(int readlimit)booleanmarkSupported()intread()intread(byte[] b)intread(byte[] b, int off, int len)voidreset()longskip(long n)- 
Methods inherited from class java.io.InputStreamnullInputStream, readAllBytes, readNBytes, readNBytes, transferTo
 
- 
 
- 
- 
- 
Field Detail- 
inputStreamprivate final InputStream inputStream 
 
- 
 - 
Constructor Detail- 
DelegatingInputStreampublic DelegatingInputStream(InputStream inputStream) 
 
- 
 - 
Method Detail- 
closepublic void close() throws IOException- Specified by:
- closein interface- AutoCloseable
- Specified by:
- closein interface- Closeable
- Overrides:
- closein class- InputStream
- Throws:
- IOException
 
 - 
readpublic int read(byte[] b) throws IOException- Overrides:
- readin class- InputStream
- Throws:
- IOException
 
 - 
readpublic int read(byte[] b, int off, int len) throws IOException- Overrides:
- readin class- InputStream
- Throws:
- IOException
 
 - 
skippublic long skip(long n) throws IOException- Overrides:
- skipin class- InputStream
- Throws:
- IOException
 
 - 
availablepublic int available() throws IOException- Overrides:
- availablein class- InputStream
- Throws:
- IOException
 
 - 
markpublic void mark(int readlimit) - Overrides:
- markin class- InputStream
 
 - 
resetpublic void reset() throws IOException- Overrides:
- resetin class- InputStream
- Throws:
- IOException
 
 - 
markSupportedpublic boolean markSupported() - Overrides:
- markSupportedin class- InputStream
 
 - 
readpublic int read() throws IOException- Specified by:
- readin class- InputStream
- Throws:
- IOException
 
 
- 
 
-