Package org.apache.cxf.attachment
Class DelegatingInputStream
java.lang.Object
java.io.InputStream
org.apache.cxf.attachment.DelegatingInputStream
- All Implemented Interfaces:
- Closeable,- AutoCloseable,- Transferable
- 
Method SummaryModifier and TypeMethodDescriptionintvoidclose()booleanisClosed()voidmark(int arg0) booleanintread()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, skipNBytes, transferTo
- 
Method Details- 
close- Specified by:
- closein interface- AutoCloseable
- Specified by:
- closein interface- Closeable
- Overrides:
- closein class- InputStream
- Throws:
- IOException
 
- 
transferTo- Specified by:
- transferToin interface- Transferable
- Throws:
- IOException
 
- 
isClosedpublic boolean isClosed()
- 
setClosedpublic void setClosed(boolean closed) 
- 
read- Specified by:
- readin class- InputStream
- Throws:
- IOException
 
- 
available- Overrides:
- availablein class- InputStream
- Throws:
- IOException
 
- 
markpublic void mark(int arg0) - Overrides:
- markin class- InputStream
 
- 
markSupportedpublic boolean markSupported()- Overrides:
- markSupportedin class- InputStream
 
- 
read- Overrides:
- readin class- InputStream
- Throws:
- IOException
 
- 
read- Overrides:
- readin class- InputStream
- Throws:
- IOException
 
- 
reset- Overrides:
- resetin class- InputStream
- Throws:
- IOException
 
- 
skip- Overrides:
- skipin class- InputStream
- Throws:
- IOException
 
- 
setInputStream
- 
getInputStream
 
-