public class CmsUgcDataItem extends java.lang.Object implements I_CmsFormDataItem
Constructor and Description |
---|
CmsUgcDataItem(org.apache.commons.fileupload.FileItem item)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getData()
Gets the data from the field as a byte array.
|
java.lang.String |
getFieldName()
Gets the field name.
|
java.lang.String |
getFileName()
Gets the file name, if this is a file upload field.
|
public CmsUgcDataItem(org.apache.commons.fileupload.FileItem item)
item
- the file item to wrappublic byte[] getData()
I_CmsFormDataItem
getData
in interface I_CmsFormDataItem
I_CmsFormDataItem.getData()
public java.lang.String getFieldName()
I_CmsFormDataItem
getFieldName
in interface I_CmsFormDataItem
I_CmsFormDataItem.getFieldName()
public java.lang.String getFileName()
I_CmsFormDataItem
getFileName
in interface I_CmsFormDataItem
I_CmsFormDataItem.getFileName()