LHAライブラリ

jp.gr.java_conf.turner.util.lha
インタフェース LhaConstants

既知の実装クラスの一覧:
LhaEntry

public interface LhaConstants

LHAの各種定数を定義します。


フィールドの概要
static byte FA_ARCH
          アーカイブフラグ属性値用マスク.
static byte FA_DIREC
          ディレクトリ属性値用マスク.
static byte FA_HIDDEN
          隠しファイル属性値用マスク.
static byte FA_LABEL
          ボリュームラベル属性値用マスク(多分使わない?).
static byte FA_RDONLY
          リードオンリー属性値用マスク.
static byte FA_SYSTEM
          システムファイル属性値用マスク.
static java.lang.String METHOD_LH0
          圧縮形式lh0(無圧縮).
static java.lang.String METHOD_LH1
          圧縮形式lh1.
static java.lang.String METHOD_LH2
          圧縮形式lh2.
static java.lang.String METHOD_LH3
          圧縮形式lh3.
static java.lang.String METHOD_LH4
          圧縮形式lh4.
static java.lang.String METHOD_LH5
          圧縮形式lh5.
static java.lang.String METHOD_LH6
          圧縮形式lh6.
static java.lang.String METHOD_LH7
          圧縮形式lh7.
static java.lang.String METHOD_LZ4
          圧縮形式lz4(無圧縮).
static java.lang.String METHOD_LZ5
          圧縮形式lz5.
static java.lang.String METHOD_LZS
          圧縮形式lzs.
static char OSTYPE_95
          OSタイプWindows95.
static char OSTYPE_CPM
          OSタイプCP/M.
static char OSTYPE_FLEX
          OSタイプFLEX.
static char OSTYPE_GENERIC
          OSタイプGENERIC(汎用/無指定).
static char OSTYPE_HUMAN
          OSタイプHUMAN68K.
static char OSTYPE_MAC
          OSタイプMacOS.
static char OSTYPE_MSDOS
          OSタイプMS-DOS.
static char OSTYPE_NT
          OSタイプWindowsNT.
static char OSTYPE_OS2
          OSタイプOS/2.
static char OSTYPE_OS386
          OSタイプOS386.
static char OSTYPE_OS68K
          OSタイプOS68K.
static char OSTYPE_OS9
          OSタイプOS-9.
static char OSTYPE_RUNSER
          OSタイプRUNSER.
static char OSTYPE_TOWNSOS
          OSタイプTOWNSOS.
static char OSTYPE_UNIX
          OSタイプUNIX.
static char OSTYPE_XOSK
          OSタイプXOSK.
 

フィールドの詳細

FA_ARCH

public static final byte FA_ARCH
アーカイブフラグ属性値用マスク.
関連項目:
LhaEntry.getAttribute(), LhaEntry.setAttribute(byte)

FA_DIREC

public static final byte FA_DIREC
ディレクトリ属性値用マスク.
関連項目:
LhaEntry.getAttribute(), LhaEntry.setAttribute(byte)

FA_HIDDEN

public static final byte FA_HIDDEN
隠しファイル属性値用マスク.
関連項目:
LhaEntry.getAttribute(), LhaEntry.setAttribute(byte)

FA_LABEL

public static final byte FA_LABEL
ボリュームラベル属性値用マスク(多分使わない?).
関連項目:
LhaEntry.getAttribute(), LhaEntry.setAttribute(byte)

FA_RDONLY

public static final byte FA_RDONLY
リードオンリー属性値用マスク.
関連項目:
LhaEntry.getAttribute(), LhaEntry.setAttribute(byte)

FA_SYSTEM

public static final byte FA_SYSTEM
システムファイル属性値用マスク.
関連項目:
LhaEntry.getAttribute(), LhaEntry.setAttribute(byte)

METHOD_LH0

public static final java.lang.String METHOD_LH0
圧縮形式lh0(無圧縮).

値="-lh0-"

関連項目:
LhaEntry.getCompressMethod(), LhaEntry.setCompressMethod(String)

METHOD_LH1

public static final java.lang.String METHOD_LH1
圧縮形式lh1.

値="-lh1-"

4k sliding dictionary(max 60 bytes) + dynamic Huffman + fixed encoding of position.

関連項目:
LhaEntry.getCompressMethod(), LhaEntry.setCompressMethod(String)

METHOD_LH2

public static final java.lang.String METHOD_LH2
圧縮形式lh2.

値="-lh2-"

8k sliding dictionary(max 256 bytes) + dynamic Huffman

現在未サポート

関連項目:
LhaEntry.getCompressMethod(), LhaEntry.setCompressMethod(String)

METHOD_LH3

public static final java.lang.String METHOD_LH3
圧縮形式lh3.

値="-lh3-"

8k sliding dictionary(max 256 bytes) + static Huffman +

現在未サポート

関連項目:
LhaEntry.getCompressMethod(), LhaEntry.setCompressMethod(String)

METHOD_LH4

public static final java.lang.String METHOD_LH4
圧縮形式lh4.

値="-lh4-"

4k sliding dictionary(max 256 bytes) + static Huffman + improved encoding of position and trees

関連項目:
LhaEntry.getCompressMethod(), LhaEntry.setCompressMethod(String)

METHOD_LH5

public static final java.lang.String METHOD_LH5
圧縮形式lh5.

値="-lh5-"

8k sliding dictionary(max 256 bytes) + static Huffman + improved encoding of position and trees

関連項目:
LhaEntry.getCompressMethod(), LhaEntry.setCompressMethod(String)

METHOD_LH6

public static final java.lang.String METHOD_LH6
圧縮形式lh6.

値="-lh6-"

32k sliding dictionary(max 256 bytes) + static Huffman + improved encoding of position and trees

関連項目:
LhaEntry.getCompressMethod(), LhaEntry.setCompressMethod(String)

METHOD_LH7

public static final java.lang.String METHOD_LH7
圧縮形式lh7.

値="-lh7-"

64k sliding dictionary(max 256 bytes) + static Huffman + improved encoding of position and trees.

関連項目:
LhaEntry.getCompressMethod(), LhaEntry.setCompressMethod(String)

METHOD_LZ4

public static final java.lang.String METHOD_LZ4
圧縮形式lz4(無圧縮).

値="-lz4-"

no compression

現在未サポート

関連項目:
LhaEntry.getCompressMethod(), LhaEntry.setCompressMethod(String)

METHOD_LZ5

public static final java.lang.String METHOD_LZ5
圧縮形式lz5.

値="-lz5-"

4k sliding dictionary(max 17 bytes)

現在未サポート

関連項目:
LhaEntry.getCompressMethod(), LhaEntry.setCompressMethod(String)

METHOD_LZS

public static final java.lang.String METHOD_LZS
圧縮形式lzs.

"-lzs-"

2k sliding dictionary(max 17 bytes)

現在未サポート

関連項目:
LhaEntry.getCompressMethod(), LhaEntry.setCompressMethod(String)

OSTYPE_95

public static final char OSTYPE_95
OSタイプWindows95.

非公式.(吉崎氏がCMAGAZINE1991/1の記事で書いたものでないという意味)

OSTYPE_MSDOSが使われることが多い。

値='w'

関連項目:
LhaEntry.getOSType(), LhaEntry.setOSType(char)

OSTYPE_CPM

public static final char OSTYPE_CPM
OSタイプCP/M.

値='C'

関連項目:
LhaEntry.getOSType(), LhaEntry.setOSType(char)

OSTYPE_FLEX

public static final char OSTYPE_FLEX
OSタイプFLEX.

値='F'

関連項目:
LhaEntry.getOSType(), LhaEntry.setOSType(char)

OSTYPE_GENERIC

public static final char OSTYPE_GENERIC
OSタイプGENERIC(汎用/無指定).

書き込み時のOSTYPEはこの値がデフォルト(予定).

値='\0'

関連項目:
LhaEntry.getOSType(), LhaEntry.setOSType(char)

OSTYPE_HUMAN

public static final char OSTYPE_HUMAN
OSタイプHUMAN68K.

値='H'

関連項目:
LhaEntry.getOSType(), LhaEntry.setOSType(char)

OSTYPE_MAC

public static final char OSTYPE_MAC
OSタイプMacOS.

値='m'

関連項目:
LhaEntry.getOSType(), LhaEntry.setOSType(char)

OSTYPE_MSDOS

public static final char OSTYPE_MSDOS
OSタイプMS-DOS.

値='M'

関連項目:
LhaEntry.getOSType(), LhaEntry.setOSType(char)

OSTYPE_NT

public static final char OSTYPE_NT
OSタイプWindowsNT.

非公式.(吉崎氏がCMAGAZINE1991/1の記事で書いたものでないという意味)

OSTYPE_MSDOSが使われることが多い。

値='W'

関連項目:
LhaEntry.getOSType(), LhaEntry.setOSType(char)

OSTYPE_OS2

public static final char OSTYPE_OS2
OSタイプOS/2.

値='2'

関連項目:
LhaEntry.getOSType(), LhaEntry.setOSType(char)

OSTYPE_OS386

public static final char OSTYPE_OS386
OSタイプOS386.

値='3'

関連項目:
LhaEntry.getOSType(), LhaEntry.setOSType(char)

OSTYPE_OS68K

public static final char OSTYPE_OS68K
OSタイプOS68K.

値='K'

関連項目:
LhaEntry.getOSType(), LhaEntry.setOSType(char)

OSTYPE_OS9

public static final char OSTYPE_OS9
OSタイプOS-9.(MacOSではない).

値='9'

関連項目:
LhaEntry.getOSType(), LhaEntry.setOSType(char)

OSTYPE_RUNSER

public static final char OSTYPE_RUNSER
OSタイプRUNSER.

値='R'

関連項目:
LhaEntry.getOSType(), LhaEntry.setOSType(char)

OSTYPE_TOWNSOS

public static final char OSTYPE_TOWNSOS
OSタイプTOWNSOS.

非公式.(吉崎氏がCMAGAZINE1991/1の記事で書いたものでないという意味)

値='T'

関連項目:
LhaEntry.getOSType(), LhaEntry.setOSType(char)

OSTYPE_UNIX

public static final char OSTYPE_UNIX
OSタイプUNIX.

値='U'

関連項目:
LhaEntry.getOSType(), LhaEntry.setOSType(char)

OSTYPE_XOSK

public static final char OSTYPE_XOSK
OSタイプXOSK.

非公式.(吉崎氏がCMAGAZINE1991/1の記事で書いたものでないという意味)

値='X'

関連項目:
LhaEntry.getOSType(), LhaEntry.setOSType(char)

LHAライブラリ