ElegantJCharts Java API Specification v2.0

com.elegantj.net.message
Class EMLParser

java.lang.Object
  |
  +--com.elegantj.net.message.EMLParser

public class EMLParser
extends java.lang.Object


Constructor Summary
EMLParser()
           
 
Method Summary
 java.lang.String getBCC()
          Method which Returns the value of BCC
 java.lang.String getBody()
          Method which Returns the value of the body
 java.lang.String getBoundary()
          Method which Returns the value of Boundary
 java.lang.String getCC()
          Method which Returns the value of CC
 java.lang.String getContentTransferEncoding()
          Method which Returns the value of ContentTransferEncoding
 java.lang.String getContentType()
          Method which Returns the value of ContentType
 java.lang.String getDate()
          Method which Returns the value of Date
 java.util.Vector getEMLParts()
          Returns the EMLParts for this eml
 java.lang.String getFrom()
          Method which Returns the value of From
 java.lang.String getMessageID()
          Method which Returns the value of MessageID
 java.lang.String getMimeVersion()
          Method which Returns the value of MimeVersion
 java.lang.String getOrganization()
          Method which Returns the value of organization
 java.lang.String getStatus()
          Method which Returns the value of Status
 java.lang.String getSubject()
          Method which Returns the value of Subject
 java.lang.String getTo()
          Method which Returns the value of To
 java.lang.String getXMailer()
          Method which Returns the value of XMailer
 java.lang.String getXRcptTo()
          Method which Returns the value of XRcptTo
 java.lang.String getXUIDL()
          Method which Returns the value of XUIDL
 boolean isContainsAttachments()
          Returns the is this EML contains the attachments or not
 void parse(java.io.InputStream inputStream)
           
 void parse(java.lang.String filePath)
           
 void saveMessageToFile(java.lang.String filePath)
          Method which saves the message to the specified file
 void writeMessage(java.io.OutputStream outputStream)
          Method which writes the message to the specified outputStream
 void writeMessage(java.io.PrintWriter writer)
          Method which writes the message to the specified PrintWriter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EMLParser

public EMLParser()
Method Detail

parse

public void parse(java.lang.String filePath)
           throws java.lang.Exception
java.lang.Exception

parse

public void parse(java.io.InputStream inputStream)
           throws java.lang.Exception
java.lang.Exception

getOrganization

public java.lang.String getOrganization()
Method which Returns the value of organization

Returns:
The value of organization

getTo

public java.lang.String getTo()
Method which Returns the value of To

Returns:
The value of To

getFrom

public java.lang.String getFrom()
Method which Returns the value of From

Returns:
The value of From

getSubject

public java.lang.String getSubject()
Method which Returns the value of Subject

Returns:
The value of Subject

getCC

public java.lang.String getCC()
Method which Returns the value of CC

Returns:
The value of CC

getBCC

public java.lang.String getBCC()
Method which Returns the value of BCC

Returns:
The value of BCC

getContentTransferEncoding

public java.lang.String getContentTransferEncoding()
Method which Returns the value of ContentTransferEncoding

Returns:
The value of ContentTransferEncoding

getXMailer

public java.lang.String getXMailer()
Method which Returns the value of XMailer

Returns:
The value of XMailer

getContentType

public java.lang.String getContentType()
Method which Returns the value of ContentType

Returns:
The value of ContentType

getMimeVersion

public java.lang.String getMimeVersion()
Method which Returns the value of MimeVersion

Returns:
The value of MimeVersion

getMessageID

public java.lang.String getMessageID()
Method which Returns the value of MessageID

Returns:
The value of MessageID

getDate

public java.lang.String getDate()
Method which Returns the value of Date

Returns:
The value of Date

getXRcptTo

public java.lang.String getXRcptTo()
Method which Returns the value of XRcptTo

Returns:
The value of XRcptTo

getStatus

public java.lang.String getStatus()
Method which Returns the value of Status

Returns:
The value of Status

getXUIDL

public java.lang.String getXUIDL()
Method which Returns the value of XUIDL

Returns:
The value of XUIDL

getBoundary

public java.lang.String getBoundary()
Method which Returns the value of Boundary

Returns:
The value of Boundary

getBody

public java.lang.String getBody()
Method which Returns the value of the body

Returns:
The value of body

getEMLParts

public java.util.Vector getEMLParts()
Returns the EMLParts for this eml

Returns:
The vector containing the EMLParts for this eml

isContainsAttachments

public boolean isContainsAttachments()
Returns the is this EML contains the attachments or not

Returns:
The value of is this EML contains the attachments or not

saveMessageToFile

public void saveMessageToFile(java.lang.String filePath)
                       throws java.lang.Exception
Method which saves the message to the specified file

Parameters:
filePath - The specified filePath
java.lang.Exception

writeMessage

public void writeMessage(java.io.OutputStream outputStream)
                  throws java.lang.Exception
Method which writes the message to the specified outputStream

Parameters:
outputStream - The specified outputStream
java.lang.Exception

writeMessage

public void writeMessage(java.io.PrintWriter writer)
                  throws java.lang.Exception
Method which writes the message to the specified PrintWriter

Parameters:
writer - The specified PrintWriter
java.lang.Exception

ElegantJCharts Java API Specification v2.0

For any feedback, suggestion, or query, please revert back to support@elegantcharts.com

Copyright(c)
Elegant Microweb Technologies Pvt. Ltd.
www.elegantmicroweb.com
www.elegantjcharts.com
All Rights Reserved.