|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.plugins.rest.common.multipart.fileupload.CommonsFileUploadFilePart
public final class CommonsFileUploadFilePart
| Method Summary | |
|---|---|
java.lang.String |
getContentType()
Get the content type of the part |
java.io.InputStream |
getInputStream()
Get the input stream of the part |
java.lang.String |
getName()
Get the file name of the part |
java.lang.String |
getValue()
Get the simple value of the part |
boolean |
isFormField()
Whether the part is a simple form field |
void |
write(java.io.File file)
Write the part to the given file |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public java.lang.String getName()
FilePart
getName in interface FilePart
public java.io.InputStream getInputStream()
throws java.io.IOException
FilePart
getInputStream in interface FilePartjava.io.IOException - If an error occuredpublic java.lang.String getContentType()
FilePart
getContentType in interface FilePart
public void write(java.io.File file)
throws java.io.IOException
FilePart
write in interface FilePartfile - The file to write the part to
java.io.IOExceptionpublic java.lang.String getValue()
FilePart
getValue in interface FilePartpublic boolean isFormField()
FilePart
isFormField in interface FilePart
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||