|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ejie.r01f.servlet.upload.Part
com.ejie.r01f.servlet.upload.FilePart
Parte tipo parametro de un multi-part enviado por un navegador
Method Summary | |
java.lang.String |
getContentType()
Devuelve el tipo mime |
java.lang.String |
getFileName()
Devuelve el nombre del fichero |
java.lang.String |
getFilePath()
Devuelve el path del fichero |
java.io.InputStream |
getInputStream()
Devuelve el inputStream al fichero |
boolean |
isFile()
Devuelve si es un fichero o no |
void |
setRenamePolicy(FileRenamePolicy policy)
Establece la política de renombrado de ficheros (para los casos en que se guarden a disco |
long |
writeTo(java.io.File fileOrDirectory)
Escribe a un fichero a disco |
long |
writeTo(java.io.OutputStream out)
Escribe el fichero a un outputSteam |
Methods inherited from class com.ejie.r01f.servlet.upload.Part |
getName, isParam |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public void setRenamePolicy(FileRenamePolicy policy)
public java.lang.String getFileName()
public java.lang.String getFilePath()
public java.lang.String getContentType()
public java.io.InputStream getInputStream()
public boolean isFile()
isFile
in class Part
public long writeTo(java.io.File fileOrDirectory) throws java.io.IOException
java.io.IOException
public long writeTo(java.io.OutputStream out) throws java.io.IOException
java.io.IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |