Package org.apache.cxf.attachment
Class DelegatingInputStream
- java.lang.Object
- 
- java.io.InputStream
- 
- org.apache.cxf.attachment.DelegatingInputStream
 
 
- 
- All Implemented Interfaces:
- Closeable,- AutoCloseable,- Transferable
 
 public class DelegatingInputStream extends InputStream implements Transferable 
- 
- 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description intavailable()voidclose()InputStreamgetInputStream()booleanisClosed()voidmark(int arg0)booleanmarkSupported()intread()intread(byte[] bytes)intread(byte[] bytes, int arg1, int arg2)voidreset()voidsetClosed(boolean closed)voidsetInputStream(InputStream inputStream)longskip(long n)voidtransferTo(File destinationFile)- 
Methods inherited from class java.io.InputStreamnullInputStream, readAllBytes, readNBytes, readNBytes, transferTo
 
- 
 
- 
- 
- 
Method Detail- 
closepublic void close() throws IOException- Specified by:
- closein interface- AutoCloseable
- Specified by:
- closein interface- Closeable
- Overrides:
- closein class- InputStream
- Throws:
- IOException
 
 - 
transferTopublic void transferTo(File destinationFile) throws IOException - Specified by:
- transferToin interface- Transferable
- Throws:
- IOException
 
 - 
isClosedpublic boolean isClosed() 
 - 
setClosedpublic void setClosed(boolean closed) 
 - 
readpublic int read() throws IOException- Specified by:
- readin class- InputStream
- Throws:
- IOException
 
 - 
availablepublic int available() throws IOException- Overrides:
- availablein class- InputStream
- Throws:
- IOException
 
 - 
markpublic void mark(int arg0) - Overrides:
- markin class- InputStream
 
 - 
markSupportedpublic boolean markSupported() - Overrides:
- markSupportedin class- InputStream
 
 - 
readpublic int read(byte[] bytes, int arg1, int arg2) throws IOException- Overrides:
- readin class- InputStream
- Throws:
- IOException
 
 - 
readpublic int read(byte[] bytes) throws IOException- Overrides:
- readin class- InputStream
- Throws:
- IOException
 
 - 
resetpublic void reset() throws IOException- Overrides:
- resetin class- InputStream
- Throws:
- IOException
 
 - 
skippublic long skip(long n) throws IOException- Overrides:
- skipin class- InputStream
- Throws:
- IOException
 
 - 
setInputStreampublic void setInputStream(InputStream inputStream) 
 - 
getInputStreampublic InputStream getInputStream() 
 
- 
 
-