org.infoglue.cms.applications.workflowtool.function.email
Class AbstractAttachment

java.lang.Object
  extended by org.infoglue.cms.applications.workflowtool.function.email.AbstractAttachment
All Implemented Interfaces:
Attachment
Direct Known Subclasses:
DigitalAssetAttachment, RemoteAttachment

public abstract class AbstractAttachment
extends java.lang.Object
implements Attachment


Constructor Summary
protected AbstractAttachment()
           
protected AbstractAttachment(java.lang.String name, java.lang.String contentType, byte[] bytes)
           
 
Method Summary
 byte[] getBytes()
           
 java.lang.String getContentType()
           
 java.lang.String getName()
           
 int getSize()
           
 void setBytes(byte[] bytes)
           
 void setContentType(java.lang.String contentType)
           
 void setName(java.lang.String name)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractAttachment

protected AbstractAttachment()

AbstractAttachment

protected AbstractAttachment(java.lang.String name,
                             java.lang.String contentType,
                             byte[] bytes)
Method Detail

getBytes

public byte[] getBytes()
Specified by:
getBytes in interface Attachment

setBytes

public void setBytes(byte[] bytes)

getName

public java.lang.String getName()
Specified by:
getName in interface Attachment

setName

public void setName(java.lang.String name)

getSize

public int getSize()
Specified by:
getSize in interface Attachment

getContentType

public java.lang.String getContentType()
Specified by:
getContentType in interface Attachment

setContentType

public void setContentType(java.lang.String contentType)

toString

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


Copyright © 2005 InfoGlue.org All Rights Reserved.