com.sun.xml.messaging.saaj.packaging.mime.internet
Class MimePullMultipart

java.lang.Object
  extended by com.sun.xml.messaging.saaj.packaging.mime.internet.MimeMultipart
      extended by com.sun.xml.messaging.saaj.packaging.mime.internet.MimePullMultipart

public class MimePullMultipart
extends MimeMultipart

Author:
Kumar

Field Summary
 
Fields inherited from class com.sun.xml.messaging.saaj.packaging.mime.internet.MimeMultipart
contentType, ds, ignoreMissingEndBoundary, parent, parsed, parts
 
Constructor Summary
MimePullMultipart(DataSource ds, ContentType ct)
           
 
Method Summary
protected  void parse()
          Parse the InputStream from our DataSource, constructing the appropriate MimeBodyParts.
 void parseAll()
           
 MIMEPart readAndReturnSOAPPart()
           
protected  void readSOAPPart()
           
 
Methods inherited from class com.sun.xml.messaging.saaj.packaging.mime.internet.MimeMultipart
addBodyPart, addBodyPart, createInternetHeaders, createMimeBodyPart, createMimeBodyPart, getBodyPart, getBodyPart, getContentType, getCount, removeBodyPart, removeBodyPart, setMultipartDataSource, setSubType, updateHeaders, writeTo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MimePullMultipart

public MimePullMultipart(DataSource ds,
                         ContentType ct)
                  throws MessagingException
Throws:
MessagingException
Method Detail

readAndReturnSOAPPart

public MIMEPart readAndReturnSOAPPart()
                               throws MessagingException
Throws:
MessagingException

readSOAPPart

protected void readSOAPPart()
                     throws MessagingException
Throws:
MessagingException

parseAll

public void parseAll()
              throws MessagingException
Throws:
MessagingException

parse

protected void parse()
              throws MessagingException
Description copied from class: MimeMultipart
Parse the InputStream from our DataSource, constructing the appropriate MimeBodyParts. The parsed flag is set to true, and if true on entry nothing is done. This method is called by all other methods that need data for the body parts, to make sure the data has been parsed.

Overrides:
parse in class MimeMultipart
Throws:
MessagingException


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.