com.compoze.collab.util
Class MimeMultipartData

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

public class MimeMultipartData
extends Object

This class encapsulates data for a MIME body part.


Method Summary
 Map getHeaders()
          Gets a map of the headers available for this part.
 InputStream getInputStream()
          Gets the input stream representing the content data.
 int getSubpartCount()
          Gets the count of subparts on the current part.
 MimeMultipartData[] getSubparts()
          Gets the subparts on the current part, if any
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInputStream

public InputStream getInputStream()
Gets the input stream representing the content data.

Returns
an input stream (not null)

getHeaders

public Map getHeaders()
Gets a map of the headers available for this part.

Returns
a map of headers (not null)

getSubparts

public MimeMultipartData[] getSubparts()
Gets the subparts on the current part, if any

Returns
an array of parts (not null)

getSubpartCount

public int getSubpartCount()
Gets the count of subparts on the current part.

Returns
a count of sub-parts.


Copyright © 2006 BEA Systems, Inc. All Rights Reserved