|
Compoze Software, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.compoze.util.Part
A class that encapsulates a part in a multi-part form.
MultiPartFormData
, Serialized FormMethod Summary | |
byte[] |
getBytes()
Get the part as a byte array. |
java.lang.String |
getContentDisposition()
Get the Content-Disposition of the part. |
java.lang.String |
getContentDispositionValue(java.lang.String sKey)
Get the value of a Content-Disposition parameter. |
java.lang.String |
getContentType()
Get the Content-Type of the part. |
java.io.InputStream |
getInputStream()
Get an InputStream to the part form data. |
int |
getLength()
Get the length of the part. |
java.lang.String |
getName()
Get the part name. |
java.lang.String |
getParameter(java.lang.String sParmName)
Get a parameter of the part. |
java.util.HashMap |
getParameters()
Get all of the parameters of the part. |
java.lang.String |
getString()
Get the part as a String. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public java.lang.String getString()
public java.lang.String getName()
public byte[] getBytes()
public java.io.InputStream getInputStream()
public java.lang.String getParameter(java.lang.String sParmName)
sParmName
- the parameter namepublic java.util.HashMap getParameters()
public java.lang.String getContentType()
public java.lang.String getContentDisposition()
public java.lang.String getContentDispositionValue(java.lang.String sKey)
sKey
- the key to the Content-Disposition parameterpublic int getLength()
|
Compoze Software, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |