ElegantJCharts Java API Specification v2.0

com.elegantj.net.message
Class POP3MessagePart

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

public class POP3MessagePart
extends java.lang.Object

The POP3MessagePart provides the class for the individual parts of the .eml file, like body, attachments.


Constructor Summary
POP3MessagePart()
          Constructs the POP3MessagePart
 
Method Summary
 java.lang.String getAttachmentFileName()
          Returns the value of AttachmentFileName
 java.lang.String getContentDisposition()
          Returns the value of content disposition
 java.lang.String getContentLength()
          Returns the value of content length
 java.lang.String getContentTransferEncoding()
          Returns the value of ContentTransferEncoding
 java.lang.String getContentType()
          Returns the value of ContentType
 java.util.Vector getLineBytesVector()
          Returns the line bytes vector for this POP3MessagePart This vector contains the line by line bytes array
 boolean isAttachment()
          Returns the value of the IsAttachment
 boolean isBody()
          Returns the value of the IsBody
 void setAttachment(boolean isAttachment)
          Sets the value of the IsAttachment
 void setAttachmentFileName(java.lang.String attachmentFileName)
          Sets the value of the AttachmentFileName
 void setBody(boolean isBody)
          Sets the value of IsBody
 void setContentDisposition(java.lang.String contentDisposition)
          Sets the value of the ContentDisposition
 void setContentLength(java.lang.String contentLength)
          Sets the value of ContentLength
 void setContentTransferEncoding(java.lang.String contentTransferEncoding)
          Sets the value of ContentTransferEncoding
 void setContentType(java.lang.String contentType)
          Sets the value of the ContentType
 java.util.Vector setLineBytesVector(java.util.Vector lineBytesVector)
          Returns the line bytes vector for this POP3MessagePart This vector contains the line by line bytes array
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

POP3MessagePart

public POP3MessagePart()
Constructs the POP3MessagePart

Method Detail

setContentType

public void setContentType(java.lang.String contentType)
Sets the value of the ContentType

Parameters:
contentType - the value of the ContentType

getContentType

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

Returns:
The value of ContentType

setContentTransferEncoding

public void setContentTransferEncoding(java.lang.String contentTransferEncoding)
Sets the value of ContentTransferEncoding

Parameters:
contentTransferEncoding - The value of ContentTransferEncoding

getContentTransferEncoding

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

Returns:
The value of ContentTransferEncoding

setContentDisposition

public void setContentDisposition(java.lang.String contentDisposition)
Sets the value of the ContentDisposition


getContentDisposition

public java.lang.String getContentDisposition()
Returns the value of content disposition

Returns:
The value of content disposition

setContentLength

public void setContentLength(java.lang.String contentLength)
Sets the value of ContentLength

Parameters:
contentLength - The value of ContentLength

getContentLength

public java.lang.String getContentLength()
Returns the value of content length

Returns:
The value of content length

setAttachment

public void setAttachment(boolean isAttachment)
Sets the value of the IsAttachment

Parameters:
isAttachment - The value of IsAttachment

isAttachment

public boolean isAttachment()
Returns the value of the IsAttachment


setAttachmentFileName

public void setAttachmentFileName(java.lang.String attachmentFileName)
Sets the value of the AttachmentFileName

Parameters:
attachmentFileName - The value of AttachmentFileName

getAttachmentFileName

public java.lang.String getAttachmentFileName()
Returns the value of AttachmentFileName

Returns:
The value of AttachmentFileName This will return null, if the POP3MessagePart is not attachment

setBody

public void setBody(boolean isBody)
Sets the value of IsBody

Parameters:
isBody - The value of IsBody

isBody

public boolean isBody()
Returns the value of the IsBody


setLineBytesVector

public java.util.Vector setLineBytesVector(java.util.Vector lineBytesVector)
Returns the line bytes vector for this POP3MessagePart This vector contains the line by line bytes array

Returns:
the line bytes vector for this POP3MessagePart

getLineBytesVector

public java.util.Vector getLineBytesVector()
Returns the line bytes vector for this POP3MessagePart This vector contains the line by line bytes array

Returns:
the line bytes vector for this POP3MessagePart

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.