org.apache.cxf.attachment
Class MimeBodyPartInputStream
java.lang.Object
java.io.InputStream
org.apache.cxf.attachment.MimeBodyPartInputStream
- All Implemented Interfaces:
- java.io.Closeable
public class MimeBodyPartInputStream
- extends java.io.InputStream
Constructor Summary |
MimeBodyPartInputStream(java.io.PushbackInputStream inStreamParam,
byte[] boundaryParam,
int pbsize)
|
Method Summary |
protected int |
processBuffer(byte[] buffer,
int off,
int len)
|
int |
read()
|
int |
read(byte[] buf,
int origOff,
int origLen)
|
Methods inherited from class java.io.InputStream |
available, close, mark, markSupported, read, reset, skip |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MimeBodyPartInputStream
public MimeBodyPartInputStream(java.io.PushbackInputStream inStreamParam,
byte[] boundaryParam,
int pbsize)
read
public int read(byte[] buf,
int origOff,
int origLen)
throws java.io.IOException
- Overrides:
read
in class java.io.InputStream
- Throws:
java.io.IOException
processBuffer
protected int processBuffer(byte[] buffer,
int off,
int len)
throws java.io.IOException
- Throws:
java.io.IOException
read
public int read()
throws java.io.IOException
- Specified by:
read
in class java.io.InputStream
- Throws:
java.io.IOException
Apache CXF