|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectcom.oreilly.servlet.multipart.Part
com.oreilly.servlet.multipart.ParamPart
public class ParamPart
A ParamPart is an upload part which represents a normal
INPUT (for example a non TYPE="file") form
parameter.
| 方法摘要 | |
|---|---|
String |
getStringValue()
Returns the value of the parameter in as a string (using the parser-specified encoding to convert from bytes) or the empty string if the user entered no value for this parameter. |
String |
getStringValue(String encoding)
Returns the value of the parameter in the supplied encoding or empty string if the user entered no value for this parameter. |
byte[] |
getValue()
Returns the value of the parameter as an array of bytes or a zero length array if the user entered no value for this parameter. |
boolean |
isParam()
Returns true to indicate this part is a parameter. |
| 从类 com.oreilly.servlet.multipart.Part 继承的方法 |
|---|
getName, isFile |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 方法详细信息 |
|---|
public byte[] getValue()
public String getStringValue()
throws UnsupportedEncodingException
UnsupportedEncodingException
public String getStringValue(String encoding)
throws UnsupportedEncodingException
UnsupportedEncodingExceptionpublic boolean isParam()
true to indicate this part is a parameter.
Part 中的 isParam
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||