UIX 2.2.16

oracle.cabo.servlet.io
Class UploadedFileMap

java.lang.Object
  |
  +--oracle.cabo.servlet.io.UploadedFileMap

public final class UploadedFileMap
extends java.lang.Object

UploadedFileMap defines the set of files that have been uploaded to the server.


Method Summary
 void dispose()
          Dispose of all UploadedFiles.
 UploadedFile getUploadedFile(java.lang.String name)
          Returns a single uploaded file.
static UploadedFileMap getUploadedFileMap(BajaContext context)
          Returns the map of uploaded files for the current request.
 java.util.Enumeration getUploadedFileNames()
          Returns an Enumeration of the names of all uploaded files.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getUploadedFileMap

public static UploadedFileMap getUploadedFileMap(BajaContext context)
Returns the map of uploaded files for the current request.

getUploadedFile

public UploadedFile getUploadedFile(java.lang.String name)
Returns a single uploaded file.
Parameters:
name - the name under which the file is stored. In HTML forms, this will be derived from the "name" set on the <input> tag.

getUploadedFileNames

public java.util.Enumeration getUploadedFileNames()
Returns an Enumeration of the names of all uploaded files.

dispose

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.

UIX 2.2.16