org.apache.tapestry.multipart
Class AbstractMultipartDecoder

java.lang.Object
  extended by org.apache.tapestry.multipart.AbstractMultipartDecoder
Direct Known Subclasses:
MultipartDecoderImpl, PortletMultipartDecoderImpl

public abstract class AbstractMultipartDecoder
extends Object

Author:
Raphael Jean

Field Summary
protected  String _encoding
           
protected  int _maxSize
           
protected  String _repositoryPath
           
protected  int _thresholdSize
           
protected  Map _uploadParts
          Map of UploadPart (which implements IUploadFile), keyed on parameter name.
 
Constructor Summary
AbstractMultipartDecoder()
           
 
Method Summary
protected  Map buildParameterMap()
           
 void cleanup()
           
 IUploadFile getFileUpload(String parameterName)
           
protected  void processFileItems(List parts)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_maxSize

protected int _maxSize

_thresholdSize

protected int _thresholdSize

_repositoryPath

protected String _repositoryPath

_encoding

protected String _encoding

_uploadParts

protected Map _uploadParts
Map of UploadPart (which implements IUploadFile), keyed on parameter name.

Constructor Detail

AbstractMultipartDecoder

public AbstractMultipartDecoder()
Method Detail

getFileUpload

public IUploadFile getFileUpload(String parameterName)

cleanup

public void cleanup()

buildParameterMap

protected Map buildParameterMap()

processFileItems

protected void processFileItems(List parts)


Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.