Module org.apache.johnzon.mapper
Class DelegatingInputStream
- java.lang.Object
- 
- java.io.InputStream
- 
- org.apache.johnzon.mapper.internal.DelegatingInputStream
 
 
- 
- All Implemented Interfaces:
- java.io.Closeable,- java.lang.AutoCloseable
 
 public class DelegatingInputStream extends java.io.InputStream
- 
- 
Field SummaryFields Modifier and Type Field Description private java.io.InputStreaminputStream
 - 
Constructor SummaryConstructors Constructor Description DelegatingInputStream(java.io.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)
 
- 
- 
- 
Method Detail- 
closepublic void close() throws java.io.IOException- Specified by:
- closein interface- java.lang.AutoCloseable
- Specified by:
- closein interface- java.io.Closeable
- Overrides:
- closein class- java.io.InputStream
- Throws:
- java.io.IOException
 
 - 
readpublic int read(byte[] b) throws java.io.IOException- Overrides:
- readin class- java.io.InputStream
- Throws:
- java.io.IOException
 
 - 
readpublic int read(byte[] b, int off, int len) throws java.io.IOException- Overrides:
- readin class- java.io.InputStream
- Throws:
- java.io.IOException
 
 - 
skippublic long skip(long n) throws java.io.IOException- Overrides:
- skipin class- java.io.InputStream
- Throws:
- java.io.IOException
 
 - 
availablepublic int available() throws java.io.IOException- Overrides:
- availablein class- java.io.InputStream
- Throws:
- java.io.IOException
 
 - 
markpublic void mark(int readlimit) - Overrides:
- markin class- java.io.InputStream
 
 - 
resetpublic void reset() throws java.io.IOException- Overrides:
- resetin class- java.io.InputStream
- Throws:
- java.io.IOException
 
 - 
markSupportedpublic boolean markSupported() - Overrides:
- markSupportedin class- java.io.InputStream
 
 - 
readpublic int read() throws java.io.IOException- Specified by:
- readin class- java.io.InputStream
- Throws:
- java.io.IOException
 
 
- 
 
-