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, skip
PartInputStream(ServletInputStream in, String boundary) throws IOException
in
- ServletInputStreamオブジェクトboundary
- 境界文字IOException
public int read() throws IOException
read
クラス内 FilterInputStream
IOException
public int read(byte[] bt) throws IOException
read
クラス内 FilterInputStream
bt
- バイト配列IOException
public int read(byte[] bt, int off, int len) throws IOException
read
クラス内 FilterInputStream
bt
- バイト配列off
- 開始バイト数len
- 読み取りバイト数IOException
public int available() throws IOException
available
クラス内 FilterInputStream
IOException
public void close() throws IOException
close
インタフェース内 Closeable
close
インタフェース内 AutoCloseable
close
クラス内 FilterInputStream
IOException
Webアプリケーションフレームワーク openGionCopyright (c) 2009 The openGion Project.