|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.cocoon.components.request.multipart.FilePart
This (abstract) class represents a file part parsed from a http post stream. It is subclassed by FilePartFile (which is a file allready written to disk) and FilePartArray (which is a file in memory)
Field Summary | |
protected java.util.Map |
headers
Field headers |
Constructor Summary | |
protected |
FilePart(java.util.Map headers)
|
Method Summary | |
abstract java.lang.String |
getFileName()
Returns the filename |
java.lang.String |
getFilePath()
Returns the filepath |
java.util.Map |
getHeaders()
Returns the part headers |
abstract java.io.InputStream |
getInputStream()
Returns an InputStream containing the file data |
java.lang.String |
getMimeType()
Returns the mime type (or null if unknown) |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.util.Map headers
Constructor Detail |
protected FilePart(java.util.Map headers)
Method Detail |
public java.util.Map getHeaders()
public abstract java.lang.String getFileName()
public java.lang.String getFilePath()
public java.lang.String getMimeType()
public abstract java.io.InputStream getInputStream() throws java.lang.Exception
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |