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_CmsFormDataItemgetData in interface I_CmsFormDataItemI_CmsFormDataItem.getData()public java.lang.String getFieldName()
I_CmsFormDataItemgetFieldName in interface I_CmsFormDataItemI_CmsFormDataItem.getFieldName()public java.lang.String getFileName()
I_CmsFormDataItemgetFileName in interface I_CmsFormDataItemI_CmsFormDataItem.getFileName()