public static class TempAttachmentsProvider.TempThingFileItem extends Object
Modifier and Type | Field and Description |
---|---|
protected IAttachmentItem |
attachmentItem |
Constructor and Description |
---|
TempThingFileItem(IAttachmentItem attachmentItem)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
delete() |
byte[] |
get() |
String |
getContentType() |
String |
getFieldName() |
FileItemHeaders |
getHeaders()
Not Implemented.
|
InputStream |
getInputStream() |
String |
getName() |
OutputStream |
getOutputStream() |
long |
getSize() |
String |
getString() |
String |
getString(String characterEncoding) |
boolean |
isFormField() |
boolean |
isInMemory() |
void |
setFieldName(String arg0) |
void |
setFormField(boolean arg0) |
void |
setHeaders(FileItemHeaders headers)
Not Implemented.
|
void |
write(File arg0) |
protected IAttachmentItem attachmentItem
public TempThingFileItem(IAttachmentItem attachmentItem)
attachmentItem
- the attachment itempublic void delete()
public byte[] get()
public String getContentType()
public String getFieldName()
public InputStream getInputStream() throws IOException
IOException
public String getName()
public OutputStream getOutputStream() throws IOException
IOException
public long getSize()
public String getString()
public String getString(String characterEncoding) throws UnsupportedEncodingException
UnsupportedEncodingException
public boolean isFormField()
public boolean isInMemory()
public void setFieldName(String arg0)
public void setFormField(boolean arg0)
public FileItemHeaders getHeaders()
public void setHeaders(FileItemHeaders headers)