Package jp.gr.java_conf.dangan.util.lha
Class PostLzsEncoder
- java.lang.Object
-
- jp.gr.java_conf.dangan.util.lha.PostLzsEncoder
-
- All Implemented Interfaces:
PostLzssEncoder
public class PostLzsEncoder extends java.lang.Object implements PostLzssEncoder
-lzs- ???k?p PostLzssEncoder?B-- revision history -- $Log: PostLzsEncoder.java,v $ Revision 1.1 2002/12/01 00:00:00 dangan [maintenance] ?\?[?X???? Revision 1.0 2002/07/31 00:00:00 dangan add to version control [bug fix] -lzs- ?? MaxMatch ?? 16 ?????? 17 ???????????C???B [maintenance] ?\?[?X???? ?^?u???p?~ ???C?Z???X?�÷???C??- Version:
- $Revision: 1.1 $
- Author:
- $Author: dangan $
-
-
Constructor Summary
Constructors Constructor Description PostLzsEncoder(java.io.OutputStream out)-lzs- ???k?p PostLzssEncoder ???\?z?????B
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()?�}???o???X?g???[?????A???�}???????o???X?g???[???????�÷?A ?g?p?????�‘?????\?[?X???????????Bvoidflush()?�}?? PostLzssEncoder ???o?b?t?@?????O???????�‘?? ?S???? 8?r?b?g?P?????f?[?^???o?????? OutputStream ???o?????A ?o?????? OutputStream ?? flush() ?????B
?�}?????\?b?h?????k???????????????�‘?BintgetDictionarySize()-lzs-?`???? LZSS???????T?C?Y???????BintgetMaxMatch()-lzs-?`???? LZSS?????????v?????????BintgetThreshold()-lzs-?`???? LZSS?????k?A?????k?????l???????BvoidwriteCode(int code)1byte ?? LZSS?�‘???k???f?[?^?????????A LZSS ?????k?????????k?R?[?h?????????v?????????�}???BvoidwriteOffset(int offset)LZSS ?????k?????????k?R?[?h?????????v???u???????�}???B
-
-
-
Method Detail
-
writeCode
public void writeCode(int code) throws java.io.IOException1byte ?? LZSS?�‘???k???f?[?^?????????A LZSS ?????k?????????k?R?[?h?????????v?????????�}???B- Specified by:
writeCodein interfacePostLzssEncoder- Parameters:
code- 1byte ?? LZSS?�‘???k???f?[?^?????????A LZSS ?????k?????????k?R?[?h?????????v??- Throws:
java.io.IOException- ???o???G???[?????�÷????????
-
writeOffset
public void writeOffset(int offset) throws java.io.IOExceptionLZSS ?????k?????????k?R?[?h?????????v???u???????�}???B- Specified by:
writeOffsetin interfacePostLzssEncoder- Parameters:
offset- LZSS ?????k?????????k?R?[?h?????????v???u- Throws:
java.io.IOException- ???o???G???[?????�÷????????
-
flush
public void flush() throws java.io.IOException?�}?? PostLzssEncoder ???o?b?t?@?????O???????�‘?? ?S???? 8?r?b?g?P?????f?[?^???o?????? OutputStream ???o?????A ?o?????? OutputStream ?? flush() ?????B
?�}?????\?b?h?????k???????????????�‘?B- Specified by:
flushin interfacePostLzssEncoder- Throws:
java.io.IOException- ???o???G???[?????�÷????????- See Also:
PostLzssEncoder.flush(),BitOutputStream.flush()
-
close
public void close() throws java.io.IOException?�}???o???X?g???[?????A???�}???????o???X?g???[???????�÷?A ?g?p?????�‘?????\?[?X???????????B- Specified by:
closein interfacePostLzssEncoder- Throws:
java.io.IOException- ???o???G???[?????�÷????????
-
getDictionarySize
public int getDictionarySize()
-lzs-?`???? LZSS???????T?C?Y???????B- Specified by:
getDictionarySizein interfacePostLzssEncoder- Returns:
- -lzs-?`???? LZSS???????T?C?Y
-
getMaxMatch
public int getMaxMatch()
-lzs-?`???? LZSS?????????v?????????B- Specified by:
getMaxMatchin interfacePostLzssEncoder- Returns:
- -lzs-?`???? LZSS?????????v??
-
getThreshold
public int getThreshold()
-lzs-?`???? LZSS?????k?A?????k?????l???????B- Specified by:
getThresholdin interfacePostLzssEncoder- Returns:
- -lzs-?`???? LZSS?????k?A?????k?????l
-
-