|
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectjava.io.OutputStream
javax.servlet.ServletOutputStream
org.opengion.hayabusa.filter.FileResponseStream
public class FileResponseStream
FileFilter で使用する、File圧縮するServletOutputStreamクラスです。
フィールドの概要 | |
---|---|
protected ByteArrayOutputStream |
filestream
|
protected boolean |
isClosed
|
protected ServletOutputStream |
output
|
protected ServletResponse |
response
|
コンストラクタの概要 | |
---|---|
FileResponseStream(ServletResponse response,
String filename)
コンストラクター |
メソッドの概要 | |
---|---|
void |
close()
このストリームを閉じ、このストリームに関連するすべてのシステムリソースを解放します。 |
boolean |
closed()
すでにストリームが閉じられているかどうかを返します。 |
void |
flush()
この出力ストリームをフラッシュし、バッファに入っている出力バイトをすべて強制的書き込みますに。 |
void |
write(byte[] bt)
指定されたバイト配列からこの出力ストリームに b.length バイトを書き込みます。 |
void |
write(byte[] bt,
int off,
int len)
オフセット off から始まる指定のバイト配列からこの出力ストリームに len バイトを書き込みます。 |
void |
write(int bt)
この出力ストリームに指定されたバイトを書き込みます。 |
クラス javax.servlet.ServletOutputStream から継承されたメソッド |
---|
print, print, print, print, print, print, print, println, println, println, println, println, println, println, println |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
---|
protected ByteArrayOutputStream filestream
protected boolean isClosed
protected ServletResponse response
protected ServletOutputStream output
コンストラクタの詳細 |
---|
public FileResponseStream(ServletResponse response, String filename) throws IOException
response
- ServletResponse
IOException
メソッドの詳細 |
---|
public void close() throws IOException
Closeable
内の close
OutputStream
内の close
IOException
public void flush() throws IOException
Flushable
内の flush
OutputStream
内の flush
IOException
public void write(int bt) throws IOException
OutputStream
内の write
bt
- int byteデータ
IOException
public void write(byte[] bt) throws IOException
OutputStream
内の write
bt
- byte[] データ
IOException
public void write(byte[] bt, int off, int len) throws IOException
OutputStream
内の write
bt
- byte[]off
- intlen
- int
IOException
public boolean closed()
|
openGion 5.1.2.0 | ||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |