|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.myfaces.trinidadinternal.config.upload.UploadedFiles
public final class UploadedFiles
UploadedFiles defines the set of files that have been uploaded to the server.
Nested Class Summary | |
---|---|
static class |
UploadedFiles.FixFilename
|
Method Summary | |
---|---|
void |
dispose()
Dispose of all UploadedFiles. |
long |
getTotalDiskSpace()
Return the tally of total disk space used. |
long |
getTotalMemory()
Return the tally of total memory used. |
org.apache.myfaces.trinidad.model.UploadedFile |
getUploadedFile(java.lang.String name)
Returns a single uploaded file. |
static UploadedFiles |
getUploadedFiles(javax.faces.context.FacesContext context)
Returns the map of uploaded files for the current request. |
java.util.Iterator<java.lang.String> |
getUploadedNames()
Returns an Iterator of the names of all uploaded files. |
static void |
setCharacterEncoding(javax.faces.context.ExternalContext externalContext,
java.lang.String encoding)
Store the character encoding for the current request. |
static void |
setCharacterEncoding(javax.servlet.http.HttpServletRequest req,
java.lang.String encoding)
|
static void |
setCharacterEncoding(javax.portlet.PortletRequest req,
java.lang.String encoding)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static UploadedFiles getUploadedFiles(javax.faces.context.FacesContext context)
public static void setCharacterEncoding(javax.faces.context.ExternalContext externalContext, java.lang.String encoding)
public static void setCharacterEncoding(javax.servlet.http.HttpServletRequest req, java.lang.String encoding)
public static void setCharacterEncoding(javax.portlet.PortletRequest req, java.lang.String encoding)
public org.apache.myfaces.trinidad.model.UploadedFile getUploadedFile(java.lang.String name)
name
- the name under which the file is stored. In HTML forms,
this will be derived from the "name" set on the <input> tag.public java.util.Iterator<java.lang.String> getUploadedNames()
public void dispose()
public long getTotalMemory()
public long getTotalDiskSpace()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |