org.infoglue.cms.webservices.elements
Class AbstractAttachment
java.lang.Object
org.infoglue.cms.webservices.elements.AbstractAttachment
- All Implemented Interfaces:
- Attachment
- Direct Known Subclasses:
- RemoteAttachment
public abstract class AbstractAttachment
- extends java.lang.Object
- implements Attachment
|
Constructor Summary |
protected |
AbstractAttachment()
|
protected |
AbstractAttachment(java.lang.String name,
java.lang.String fileName,
java.lang.String filePath,
java.lang.String contentType,
byte[] bytes)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AbstractAttachment
protected AbstractAttachment()
AbstractAttachment
protected AbstractAttachment(java.lang.String name,
java.lang.String fileName,
java.lang.String filePath,
java.lang.String contentType,
byte[] bytes)
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
getFileName
public java.lang.String getFileName()
setFileName
public void setFileName(java.lang.String fileName)
getFilePath
public java.lang.String getFilePath()
setFilePath
public void setFilePath(java.lang.String filePath)
Copyright © 2005 InfoGlue.org All Rights Reserved.