com.webmethods.caf.faces.data.attachments
Class PortalAttachmentItem.PortalContentFileItem
java.lang.Object
com.webmethods.caf.faces.data.attachments.PortalAttachmentItem.PortalContentFileItem
- Enclosing class:
- PortalAttachmentItem
protected static class PortalAttachmentItem.PortalContentFileItem
- extends Object
Implementation of FileItem from a file stored in MWS
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PortalAttachmentItem.PortalContentFileItem
public PortalAttachmentItem.PortalContentFileItem(PortalAttachmentItem attachmentItem)
throws Exception
- Throws:
Exception
delete
public void delete()
get
public byte[] get()
getContentType
public String getContentType()
getFieldName
public String getFieldName()
getInputStream
public InputStream getInputStream()
throws IOException
- Throws:
IOException
getName
public String getName()
getOutputStream
public OutputStream getOutputStream()
throws IOException
- Throws:
IOException
getSize
public long getSize()
getString
public String getString()
getString
public String getString(String characterEncoding)
throws UnsupportedEncodingException
- Throws:
UnsupportedEncodingException
isFormField
public boolean isFormField()
isInMemory
public boolean isInMemory()
setFieldName
public void setFieldName(String name)
setFormField
public void setFormField(boolean field)
write
public void write(File file)
throws Exception
- Throws:
Exception