|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.cocoon.components.request.multipart.FilePart | +--org.apache.cocoon.components.request.multipart.FilePartArray
This class represents a file part parsed from a http post stream.
Fields inherited from class org.apache.cocoon.components.request.multipart.FilePart |
headers |
Constructor Summary | |
protected |
FilePartArray(java.util.Map headers,
java.io.InputStream in)
Constructor FilePartArray |
Method Summary | |
java.lang.String |
getFileName()
Returns the filename |
java.io.InputStream |
getInputStream()
Returns a (ByteArray)InputStream containing the file data |
Methods inherited from class org.apache.cocoon.components.request.multipart.FilePart |
getFilePath, getHeaders, getMimeType |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected FilePartArray(java.util.Map headers, java.io.InputStream in)
headers
- in
- Method Detail |
public java.lang.String getFileName()
getFileName
in class FilePart
public java.io.InputStream getInputStream() throws java.lang.Exception
getInputStream
in class FilePart
java.lang.Exception
-
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |