public static class JcrAttachmentsProvider.JcrFileItem extends Object
Modifier and Type | Field and Description |
---|---|
protected JcrAttachmentsProvider.JcrAttachmentItem |
attachmentItem
Reference to the attachment item
|
Constructor and Description |
---|
JcrFileItem(JcrAttachmentsProvider.JcrAttachmentItem 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 JcrAttachmentsProvider.JcrAttachmentItem attachmentItem
public JcrFileItem(JcrAttachmentsProvider.JcrAttachmentItem 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)