Jwma

dtw.webmail.util
Class FormdataMultipart

java.lang.Object
  |
  +--javax.mail.Multipart
        |
        +--javax.mail.internet.MimeMultipart
              |
              +--dtw.webmail.util.FormdataMultipart

public class FormdataMultipart
extends javax.mail.internet.MimeMultipart

Class that implements a Multipart that handles the multipart/form-data content type.

Version:
0.9.7 07/02/2003
Author:
Dieter Wimberger

Field Summary
 
Fields inherited from class javax.mail.internet.MimeMultipart
ds, parsed
 
Fields inherited from class javax.mail.Multipart
contentType, parent, parts
 
Constructor Summary
FormdataMultipart()
          Constructs a FormdataMultipart instance.
This implementation just calls the superclass constructor.
FormdataMultipart(javax.activation.DataSource ds)
          Constructs a FormdataMultipart instance.
Automatically processes the body parts to extract parameters, and attachments.
 
Method Summary
 java.util.Hashtable getParameters()
          Returns the extracted parameters (with the extrcted values) as Hashtable.
 
Methods inherited from class javax.mail.internet.MimeMultipart
createInternetHeaders, createMimeBodyPart, createMimeBodyPart, getBodyPart, getBodyPart, getCount, parse, setSubType, updateHeaders, writeTo
 
Methods inherited from class javax.mail.Multipart
addBodyPart, addBodyPart, getContentType, getParent, removeBodyPart, removeBodyPart, setMultipartDataSource, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FormdataMultipart

public FormdataMultipart()
Constructs a FormdataMultipart instance.
This implementation just calls the superclass constructor.


FormdataMultipart

public FormdataMultipart(javax.activation.DataSource ds)
                  throws javax.mail.MessagingException,
                         java.io.IOException
Constructs a FormdataMultipart instance.
Automatically processes the body parts to extract parameters, and attachments.

Method Detail

getParameters

public java.util.Hashtable getParameters()
Returns the extracted parameters (with the extrcted values) as Hashtable.

Returns:
the extracted parameter data as Hashtable

Jwma

Copyright © 2000-2003 jwma team (All Rights Reserved.)