com.compoze.collab.util
Class MimeMultipartHandler

java.lang.Object
  extended by com.compoze.collab.util.MimeMultipartHandler

public class MimeMultipartHandler
extends Object

This class is used to parse an input stream representing a MIME entity. NOTE: this class relies on the following packages: javax.mail.*
javax.mail.internet.*
javax.activation.*


Constructor Summary
MimeMultipartHandler()
           
 
Method Summary
static MimeMultipartData[] parse(InputStream input)
          Parse the input stream as a MIME type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MimeMultipartHandler

public MimeMultipartHandler()
Method Detail

parse

public static MimeMultipartData[] parse(InputStream input)
                                 throws Exception
Parse the input stream as a MIME type. It is recommended you KNOW that you have a mime stream before calling this. The input stream is read fully, but not closed.

Parameters
input - the input stream containing MIME data
Returns
an array of MimeMultipartData instances
Throws
Exception - when there was an exception reading the data


Copyright © 2006 BEA Systems, Inc. All Rights Reserved