Platform SDK Java 8.5 API Reference

com.genesyslab.platform.webmedia.protocol.espemail
Class EmailAttachment

java.lang.Object
  extended by com.genesyslab.platform.webmedia.protocol.espemail.AbstractPrintable
      extended by com.genesyslab.platform.webmedia.protocol.espemail.EmailAttachment
All Implemented Interfaces:
Printable, XmlSerializable

public final class EmailAttachment
extends AbstractPrintable
implements XmlSerializable, Printable


Field Summary
 
Fields inherited from class com.genesyslab.platform.webmedia.protocol.espemail.AbstractPrintable
SUPRESSED
 
Constructor Summary
EmailAttachment()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 byte[] getContent()
          Binary value (the content of the file).
 java.lang.String getContentType()
          String value (the content type of the file).
 java.lang.String getFileName()
          Name of attached file.
 int hashCode()
           
 void loadFromXml(ESPEmailCustomCodec custCodec, org.w3c.dom.Node node)
           
 void saveToXml(ESPEmailCustomCodec custCodec, org.w3c.dom.Node node)
           
 void setContent(byte[] value)
          Binary value (the content of the file).
 void setContentType(java.lang.String value)
          String value (the content type of the file).
 void setFileName(java.lang.String value)
          Name of attached file.
 java.lang.String toString(int indent)
           
 
Methods inherited from class com.genesyslab.platform.webmedia.protocol.espemail.AbstractPrintable
toString, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EmailAttachment

public EmailAttachment()
Method Detail

getFileName

public java.lang.String getFileName()
Name of attached file.


setFileName

public void setFileName(java.lang.String value)
Name of attached file.


getContentType

public java.lang.String getContentType()
String value (the content type of the file).


setContentType

public void setContentType(java.lang.String value)
String value (the content type of the file).


getContent

public byte[] getContent()
Binary value (the content of the file).


setContent

public void setContent(byte[] value)
Binary value (the content of the file).


saveToXml

public void saveToXml(ESPEmailCustomCodec custCodec,
                      org.w3c.dom.Node node)
               throws com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
Specified by:
saveToXml in interface XmlSerializable
Throws:
com.genesyslab.platform.commons.protocol.runtime.codec.CodecException

loadFromXml

public void loadFromXml(ESPEmailCustomCodec custCodec,
                        org.w3c.dom.Node node)
                 throws com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
Specified by:
loadFromXml in interface XmlSerializable
Throws:
com.genesyslab.platform.commons.protocol.runtime.codec.CodecException

toString

public java.lang.String toString(int indent)
Specified by:
toString in interface Printable

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

Platform SDK Java 8.5 API Reference

Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 8.5.302.00
Copyright © 2006–2017 Genesys Telecommunications Laboratories, Inc. All rights reserved.