Class w3c.mime.MIMEMultipartInputStream
All Packages Class Hierarchy This Package Previous Next Index
Class w3c.mime.MIMEMultipartInputStream
java.lang.Object
|
+----java.io.InputStream
|
+----java.io.FilterInputStream
|
+----w3c.mime.MIMEInputStream
|
+----w3c.mime.MIMEMultipartInputStream
- public class MIMEMultipartInputStream
- extends MIMEInputStream
A class to handle multipart MIME input streams. See RC 1521.
This class handles multipart input streams, as defined by the RFC 1521.
It prvides a sequential interface to all MIME parts, and for each part
it delivers a suitable InputStream for getting its body.
-
MIMEMultipartInputStream(InputStream, byte[])
- Construct a new multipart input stream.
-
available()
-
-
nextInputStream()
-
-
read()
-
-
read(byte[], int, int)
-
-
skip(long)
-
-
skipToBoundary()
-
MIMEMultipartInputStream
public MIMEMultipartInputStream(InputStream in,
byte boundary[])
- Construct a new multipart input stream.
- Parameters:
- in - The initial (multipart) input stream.
- boundary - The input stream MIME boundary.
skipToBoundary
protected boolean skipToBoundary() throws IOException
read
public int read() throws IOException
- Overrides:
- read in class FilterInputStream
read
public int read(byte b[],
int off,
int len) throws IOException
- Overrides:
- read in class FilterInputStream
skip
public long skip(long n) throws IOException
- Overrides:
- skip in class FilterInputStream
available
public int available() throws IOException
- Overrides:
- available in class FilterInputStream
nextInputStream
public boolean nextInputStream() throws IOException
All Packages Class Hierarchy This Package Previous Next Index