|
LHA Library for Java | ||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||||
java.lang.Objectjp.gr.java_conf.dangan.util.lha.PostLh1Encoder
-lh1- 圧縮用の PostLzssEncoder。
-- revision history --
$Log: PostLh1Encoder.java,v $
Revision 1.1 2002/12/01 00:00:00 dangan
[maintenance]
ソース整備
Revision 1.0 2002/07/31 00:00:00 dangan
add to version control
[maintenance]
ソース整備
タブ廃止
ライセンス文の修正
| コンストラクタの概要 | |
PostLh1Encoder(OutputStream out)
-lh1- 圧縮用 PostLzssEncoder を構築する。 |
|
| メソッドの概要 | |
void |
close()
この出力ストリームと、接続された出力ストリームを閉じ、 使用していたリソースを解放する。 |
void |
flush()
この PostLzssEncoder にバッファリングされている 全ての 8ビット単位のデータを出力先の OutputStream に出力し、 出力先の OutputStream を flush() する。 |
int |
getDictionarySize()
-lh1-形式の LZSS辞書のサイズを得る。 |
int |
getMaxMatch()
-lh1-形式の LZSSの最大一致長を得る。 |
int |
getThreshold()
-lh1-形式の LZSSの圧縮、非圧縮の閾値を得る。 |
void |
writeCode(int code)
1byte の LZSS未圧縮のデータもしくは、 LZSS で圧縮された圧縮コードのうち一致長を書きこむ。 |
void |
writeOffset(int offset)
LZSS で圧縮された圧縮コードのうち一致位置を書きこむ。 |
| クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
public PostLh1Encoder(OutputStream out)
out - 圧縮データを受け取る出力ストリーム| メソッドの詳細 |
public void writeCode(int code)
throws IOException
PostLzssEncoder 内の writeCodecode - 1byte の LZSS未圧縮のデータもしくは、
LZSS で圧縮された圧縮コードのうち一致長
IOException - 入出力エラーが発生した場合
public void writeOffset(int offset)
throws IOException
PostLzssEncoder 内の writeOffsetoffset - LZSS で圧縮された圧縮コードのうち一致位置
IOException - 入出力エラーが発生した場合
public void flush()
throws IOException
PostLzssEncoder 内の flushIOException - 入出力エラーが発生した場合PostLzssEncoder.flush(),
BitOutputStream.flush()
public void close()
throws IOException
PostLzssEncoder 内の closeIOException - 入出力エラーが発生した場合public int getDictionarySize()
PostLzssEncoder 内の getDictionarySizepublic int getMaxMatch()
PostLzssEncoder 内の getMaxMatchpublic int getThreshold()
PostLzssEncoder 内の getThreshold
|
LHA Library for Java | ||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||||