|
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectorg.opengion.hayabusa.servlet.multipart.Part
org.opengion.hayabusa.servlet.multipart.ParamPart
public class ParamPart
ファイルアップロード時のマルチパート処理のパラメータパート部品です。 パラメータ情報を取り扱います。
コンストラクタの概要 | |
---|---|
ParamPart(String name,
ServletInputStream in,
String boundary,
String encoding)
パラメータパート部品 オブジェクトを構築する、コンストラクター |
メソッドの概要 | |
---|---|
String |
getStringValue()
値を文字列で返します。 |
String |
getStringValue(String encoding)
エンコードを与えて、値を文字列に変換して返します。 |
byte[] |
getValue()
値をバイト配列で返します。 |
boolean |
isParam()
パラメーターかどうか |
クラス org.opengion.hayabusa.servlet.multipart.Part から継承されたメソッド |
---|
getName, isFile |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
ParamPart(String name, ServletInputStream in, String boundary, String encoding) throws IOException
name
- パラメータの名前in
- ServletInputStreamオブジェクトboundary
- 境界文字encoding
- エンコード
IOException
- 入出力エラーが発生したときメソッドの詳細 |
---|
public byte[] getValue()
public String getStringValue() throws UnsupportedEncodingException
UnsupportedEncodingException
- コンストラクタで指定した エンコード がサポートされていない場合。public String getStringValue(String encoding) throws UnsupportedEncodingException
encoding
- エンコード
UnsupportedEncodingException
- 引数のエンコード がサポートされていない場合。public boolean isParam()
Part
内の isParam
|
openGion 5.8.2.0 | ||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |