| java.lang.Object org.sakaiproject.util.FileItem
FileItem | public class FileItem (Code) | |
FileItem is ...
|
STREAM_BUFFER_SIZE | final protected static int STREAM_BUFFER_SIZE(Code) | | The chunk size used when streaming (100k).
|
m_bodyBytes | protected byte[] m_bodyBytes(Code) | | |
m_inputStream | protected InputStream m_inputStream(Code) | | Stream from which body can be read
|
FileItem | public FileItem(String fileName, String fileType)(Code) | | Construct
Parameters: fileName - The file name. Parameters: fileType - The file type. |
get | public byte[] get()(Code) | | Access the body as a byte array. This consumes the entry.
|
getInputStream | public InputStream getInputStream()(Code) | | Access the input stream from which the body can be read.
|
getString | public String getString()(Code) | | Access the body as a String.
|
stream2bodyBytes | protected void stream2bodyBytes()(Code) | | |
|
|