org.apache.tapestry.multipart
Class AbstractMultipartDecoder

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

public abstract class AbstractMultipartDecoder
extends java.lang.Object

Author:
Raphael Jean

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

Field Detail

_uploadParts

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


_thresholdSize

protected int _thresholdSize

_repositoryPath

protected java.lang.String _repositoryPath

_encoding

protected java.lang.String _encoding
Constructor Detail

AbstractMultipartDecoder

public AbstractMultipartDecoder()
Method Detail

getFileUpload

public IUploadFile getFileUpload(java.lang.String parameterName)

cleanup

public void cleanup()

buildParameterMap

protected java.util.Map buildParameterMap()

processFileItems

protected void processFileItems(java.util.List parts)