|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FilePart
A part of a multi part request
| 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 |
| Method Detail |
|---|
java.lang.String getName()
java.lang.String getContentType()
void write(java.io.File file)
throws java.io.IOException
file - The file to write the part to
java.io.IOException
java.io.InputStream getInputStream()
throws java.io.IOException
java.io.IOException - If an error occuredjava.lang.String getValue()
boolean isFormField()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||