i2p.susi.webmail
Class Attachment

java.lang.Object
  extended by i2p.susi.webmail.Attachment

public class Attachment
extends java.lang.Object

Author:
user

Constructor Summary
Attachment()
           
 
Method Summary
 ReadBuffer getBuffer()
           
 java.lang.String getContentType()
           
 java.lang.String getData()
           
 java.lang.String getFileName()
           
 java.lang.String getTransferEncoding()
           
 void setBuffer(ReadBuffer buffer)
           
 void setContentType(java.lang.String contentType)
           
 void setData(java.lang.String data)
           
 void setFileName(java.lang.String fileName)
           
 void setTransferEncoding(java.lang.String transferEncoding)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Attachment

public Attachment()
Method Detail

getFileName

public java.lang.String getFileName()
Returns:
Returns the fileName.

setFileName

public void setFileName(java.lang.String fileName)
Parameters:
fileName - The fileName to set.

getBuffer

public ReadBuffer getBuffer()
Returns:
Returns the buffer.

setBuffer

public void setBuffer(ReadBuffer buffer)
Parameters:
buffer - The buffer to set.

getTransferEncoding

public java.lang.String getTransferEncoding()
Returns:

getContentType

public java.lang.String getContentType()
Returns:

setContentType

public void setContentType(java.lang.String contentType)
Parameters:
contentType - The contentType to set.

setTransferEncoding

public void setTransferEncoding(java.lang.String transferEncoding)
Parameters:
transferEncoding - The transferEncoding to set.

setData

public void setData(java.lang.String data)
Parameters:
string -

getData

public java.lang.String getData()
Returns:
Returns the data.