| java.lang.Object org.apache.cocoon.servlet.multipart.MultipartParser
MultipartParser | public class MultipartParser (Code) | | This class is used to implement a multipart request wrapper.
It will parse the http post stream and and fill it's hashtable with values.
The hashtable will contain:
Vector: inline part values
FilePart: file part
author: Jeroen ter Voorde version: CVS $Id: MultipartParser.java 479303 2006-11-26 06:56:17Z antonio $ |
Constructor Summary | |
public | MultipartParser(boolean saveUploadedFilesToDisk, File uploadDirectory, boolean allowOverwrite, boolean silentlyRename, int maxUploadSize, String characterEncoding) Constructor, parses given request
Parameters: saveUploadedFilesToDisk - Write fileparts to the uploadDirectory. |
UPLOAD_STATUS_SESSION_ATTR | final public static String UPLOAD_STATUS_SESSION_ATTR(Code) | | |
MultipartParser | public MultipartParser(boolean saveUploadedFilesToDisk, File uploadDirectory, boolean allowOverwrite, boolean silentlyRename, int maxUploadSize, String characterEncoding)(Code) | | Constructor, parses given request
Parameters: saveUploadedFilesToDisk - Write fileparts to the uploadDirectory. If true the corresponding objectin the hashtable will contain a FilePartFile, if false a FilePartArray Parameters: uploadDirectory - The directory to write to if saveUploadedFilesToDisk is true. Parameters: allowOverwrite - Allow existing files to be overwritten. Parameters: silentlyRename - If file exists rename file (using filename+number). Parameters: maxUploadSize - The maximum content length accepted. Parameters: characterEncoding - The character encoding to be used. |
|
|