|
LHA Library for Java | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjp.gr.java_conf.dangan.util.lha.PreLz5Decoder
public class PreLz5Decoder
-lz5- 解凍用 PreLzssDecoder。
-- revision history --
$Log: PreLz5Decoder.java,v $
Revision 1.1 2002/12/01 00:00:00 dangan
[maintenance]
ソース整備
Revision 1.0 2002/08/05 00:00:00 dangan
add to version control
[maintenance]
ソース整備
タブ廃止
ライセンス文の修正
| Constructor Summary | |
|---|---|
PreLz5Decoder(java.io.InputStream in)
-lz5- 解凍用 PreLzssDecoder を構築する。 |
|
| Method Summary | |
|---|---|
int |
available()
ブロックせずに読み出すことの出来る最低バイト数を得る。 この値は保証される。 |
void |
close()
このストリームを閉じ、使用していた全ての資源を解放する。 |
int |
getDictionarySize()
-lz5-形式の LZSS辞書のサイズを得る。 |
int |
getMaxMatch()
-lz5-形式の LZSSの最大一致長を得る。 |
int |
getThreshold()
-lz5-形式の LZSSの圧縮、非圧縮の閾値を得る。 |
void |
mark(int readLimit)
接続された入力ストリームの現在位置にマークを設定し、 reset() メソッドでマークした時点の 読み込み位置に 戻れるようにする。 |
boolean |
markSupported()
接続されたストリームが mark() と reset() をサポートするかを返す。 |
int |
readCode()
-lz5- で圧縮された 1byte の LZSS未圧縮のデータ、 もしくは圧縮コードのうち一致長を読み込む。 |
int |
readOffset()
-lz5- で圧縮された 圧縮コードのうち一致位置を読み込む。 |
void |
reset()
接続された入力ストリームの読み込み位置を最後に mark() メソッドが呼び出されたときの位置に設定する。 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PreLz5Decoder(java.io.InputStream in)
in - 圧縮データを供給する入力ストリーム| Method Detail |
|---|
public int readCode()
throws java.io.IOException
readCode in interface PreLzssDecoderjava.io.IOException - 入出力エラーが発生した場合
java.io.EOFException - EndOfStreamに達した場合
public int readOffset()
throws java.io.IOException
readOffset in interface PreLzssDecoderjava.io.IOException - 入出力エラーが発生した場合public void mark(int readLimit)
mark in interface PreLzssDecoderreadLimit - マーク位置に戻れる限界のバイト数。
このバイト数を超えてデータを読み
込んだ場合 reset()できなくなる可
能性がある。PreLzssDecoder.mark(int)
public void reset()
throws java.io.IOException
reset in interface PreLzssDecoderjava.io.IOException - public boolean markSupported()
markSupported in interface PreLzssDecoder
public int available()
throws java.io.IOException
available in interface PreLzssDecoderjava.io.IOException - 入出力エラーが発生した場合PreLzssDecoder.available()
public void close()
throws java.io.IOException
close in interface PreLzssDecoderjava.io.IOException - 入出力エラーが発生した場合public int getDictionarySize()
getDictionarySize in interface PreLzssDecoderpublic int getMaxMatch()
getMaxMatch in interface PreLzssDecoderpublic int getThreshold()
getThreshold in interface PreLzssDecoder
|
LHA Library for Java | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||