Package org.apache.cxf.attachment
Class MimeBodyPartInputStream
java.lang.Object
java.io.InputStream
org.apache.cxf.attachment.MimeBodyPartInputStream
- All Implemented Interfaces:
Closeable
,AutoCloseable
-
Constructor Summary
ConstructorDescriptionMimeBodyPartInputStream
(PushbackInputStream inStreamParam, byte[] boundaryParam, int pbsize) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
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, mark, markSupported, nullInputStream, read, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo
-
Constructor Details
-
MimeBodyPartInputStream
-
-
Method Details
-
read
- Overrides:
read
in classInputStream
- Throws:
IOException
-
processBuffer
- Throws:
IOException
-
read
- Specified by:
read
in classInputStream
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classInputStream
- Throws:
IOException
-