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.

Constructor Index

 o MIMEMultipartInputStream(InputStream, byte[])
Construct a new multipart input stream.

Method Index

 o available()
 o nextInputStream()
 o read()
 o read(byte[], int, int)
 o skip(long)
 o skipToBoundary()

Constructors

 o 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.

Methods

 o skipToBoundary
  protected boolean skipToBoundary() throws IOException
 o read
  public int read() throws IOException
Overrides:
read in class FilterInputStream
 o read
  public int read(byte b[],
                  int off,
                  int len) throws IOException
Overrides:
read in class FilterInputStream
 o skip
  public long skip(long n) throws IOException
Overrides:
skip in class FilterInputStream
 o available
  public int available() throws IOException
Overrides:
available in class FilterInputStream
 o nextInputStream
  public boolean nextInputStream() throws IOException

All Packages  Class Hierarchy  This Package  Previous  Next  Index