Save This Page
Home » trinidad-1.2.8-src-all » org.apache.myfaces.trinidadinternal » config » upload » [javadoc | source]
org.apache.myfaces.trinidadinternal.config.upload
public final class: UploadedFiles [javadoc | source]
java.lang.Object
   org.apache.myfaces.trinidadinternal.config.upload.UploadedFiles
UploadedFiles defines the set of files that have been uploaded to the server.
Nested Class Summary:
public static class  UploadedFiles.FixFilename   
Constructor:
 UploadedFiles(ExternalContext externalContext) 
    Creates an UploadedFiles.
Method from org.apache.myfaces.trinidadinternal.config.upload.UploadedFiles Summary:
__put,   dispose,   getTotalDiskSpace,   getTotalMemory,   getUploadedFile,   getUploadedFiles,   getUploadedNames,   setCharacterEncoding,   setCharacterEncoding,   setCharacterEncoding
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.myfaces.trinidadinternal.config.upload.UploadedFiles Detail:
  void __put(String name,
    UploadedFile file) 
    Store a single UploadedFile.
 public  void dispose() 
    Dispose of all UploadedFiles. This will happen automatically when the current request ends, so clients do not need to call this method. However, if a developer is finished with processing files, this will free up resources earlier.
 public long getTotalDiskSpace() 
    Return the tally of total disk space used.
 public long getTotalMemory() 
    Return the tally of total memory used.
 public UploadedFile getUploadedFile(String name) 
    Returns a single uploaded file.
 public static UploadedFiles getUploadedFiles(FacesContext context) 
    Returns the map of uploaded files for the current request.
 public Iterator getUploadedNames() 
    Returns an Iterator of the names of all uploaded files.
 public static  void setCharacterEncoding(ExternalContext externalContext,
    String encoding) 
    Store the character encoding for the current request.
 public static  void setCharacterEncoding(HttpServletRequest req,
    String encoding) 
 public static  void setCharacterEncoding(PortletRequest req,
    String encoding)