public interface FormDataItem
| Modifier and Type | Method and Description |
|---|---|
byte[] |
get()
Returns the content of the field item.
|
String |
getAsString()
Returns the content of the field item as text.
|
String |
getContentType()
Returns the Content type of the field item.
|
String |
getFieldName()
Field name of this field item.
|
InputStream |
getInputStream()
Returns an InputStream from which the content of the field item can be
read.
|
String |
getName()
Name of the uploaded file, if the item represents file upload.
|
long |
getSize()
The size of the content stored in this field item.
|
boolean |
isFormField()
Used to identify if the field item represents a file upload or a regular
form field.
|
String getContentType()
long getSize()
InputStream getInputStream() throws IOException
IOExceptionbyte[] get()
String getAsString()
String getName()
isFormField() returns false.String getFieldName()
boolean isFormField()
Copyright © 2007-2012. All Rights Reserved.