public class PartInputStream extends FilterInputStream
in| コンストラクタと説明 |
|---|
PartInputStream(ServletInputStream in,
String boundary)
読取ストリーム と区切り文字を指定してクラスを構築する コンストラクター
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
int |
available()
利用可能かどうかを返します。
|
void |
close()
接続を閉じます。
|
int |
read()
データを読み込みます。
|
int |
read(byte[] bt)
データを読み込みます。
|
int |
read(byte[] bt,
int off,
int len)
データを読み込みます。
|
mark, markSupported, reset, skipPartInputStream(ServletInputStream in, String boundary) throws IOException
in - ServletInputStreamオブジェクトboundary - 境界文字IOException - 上位の入出力エラーpublic int read() throws IOException
read クラス内 FilterInputStreamIOException - 入出力エラーが発生したときpublic int read(byte[] bt) throws IOException
read クラス内 FilterInputStreambt - バイト配列IOException - 入出力エラーが発生したときpublic int read(byte[] bt, int off, int len) throws IOException
read クラス内 FilterInputStreambt - バイト配列off - 開始バイト数len - 読み取りバイト数IOException - 入出力エラーが発生したときpublic int available() throws IOException
available クラス内 FilterInputStreamIOException - 入出力エラーが発生したときpublic void close() throws IOException
close インタフェース内 Closeableclose インタフェース内 AutoCloseableclose クラス内 FilterInputStreamIOException - 入出力エラーが発生したときWebアプリケーションフレームワーク openGionCopyright (c) 2009 The openGion Project.