com.webmethods.caf.faces.data.attachments
Class TempAttachmentsProvider.TempThingFileItem
java.lang.Object
com.webmethods.caf.faces.data.attachments.TempAttachmentsProvider.TempThingFileItem
- Enclosing class:
- TempAttachmentsProvider
public static class TempAttachmentsProvider.TempThingFileItem
- extends Object
Simple implementation of FileItem to wrap the temporary
files.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
attachmentItem
protected IAttachmentItem attachmentItem
TempAttachmentsProvider.TempThingFileItem
public TempAttachmentsProvider.TempThingFileItem(IAttachmentItem attachmentItem)
- Constructor
- Parameters:
attachmentItem
- the attachment item
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 arg0)
setFormField
public void setFormField(boolean arg0)
write
public void write(File arg0)
throws Exception
- Throws:
Exception