Package org.apache.cxf.attachment
Class MimeBodyPartInputStream
- java.lang.Object
- 
- java.io.InputStream
- 
- org.apache.cxf.attachment.MimeBodyPartInputStream
 
 
- 
- All Implemented Interfaces:
- Closeable,- AutoCloseable
 
 public class MimeBodyPartInputStream extends InputStream 
- 
- 
Constructor SummaryConstructors Constructor Description MimeBodyPartInputStream(PushbackInputStream inStreamParam, byte[] boundaryParam, int pbsize)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()protected intprocessBuffer(byte[] buffer, int off, int len)intread()intread(byte[] buf, int origOff, int origLen)- 
Methods inherited from class java.io.InputStreamavailable, mark, markSupported, nullInputStream, read, readAllBytes, readNBytes, readNBytes, reset, skip, transferTo
 
- 
 
- 
- 
- 
Constructor Detail- 
MimeBodyPartInputStreampublic MimeBodyPartInputStream(PushbackInputStream inStreamParam, byte[] boundaryParam, int pbsize) 
 
- 
 - 
Method Detail- 
readpublic int read(byte[] buf, int origOff, int origLen) throws IOException- Overrides:
- readin class- InputStream
- Throws:
- IOException
 
 - 
processBufferprotected int processBuffer(byte[] buffer, int off, int len) throws IOException- Throws:
- IOException
 
 - 
readpublic int read() throws IOException- Specified by:
- readin class- InputStream
- Throws:
- IOException
 
 - 
closepublic void close() throws IOException- Specified by:
- closein interface- AutoCloseable
- Specified by:
- closein interface- Closeable
- Overrides:
- closein class- InputStream
- Throws:
- IOException
 
 
- 
 
-