org.opengts.util
Class SendMail.Attachment

java.lang.Object
  extended by org.opengts.util.SendMail.Attachment
Enclosing class:
SendMail

public static class SendMail.Attachment
extends java.lang.Object

A container for an email attachment


Constructor Summary
SendMail.Attachment(byte[] data)
           
SendMail.Attachment(byte[] data, java.lang.String name, java.lang.String type)
           
SendMail.Attachment(java.lang.String csvData)
           
 
Method Summary
 byte[] getBytes()
           
 java.lang.String getName()
           
 int getSize()
           
 java.lang.String getType()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SendMail.Attachment

public SendMail.Attachment(byte[] data)

SendMail.Attachment

public SendMail.Attachment(byte[] data,
                           java.lang.String name,
                           java.lang.String type)

SendMail.Attachment

public SendMail.Attachment(java.lang.String csvData)
Method Detail

getBytes

public byte[] getBytes()

getSize

public int getSize()

getName

public java.lang.String getName()

getType

public java.lang.String getType()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object