Class LhaProperty

java.lang.Object
jp.gr.java_conf.dangan.util.lha.LhaProperty

public class LhaProperty extends Object
LHA Library for Java ???e?????????????B
LhaProperty.getProperty() ?? LhaProperty.getProperties() ???????????l?? ?V?X?e???v???p?e?B?A?????t?@?C???A?f?t?H???g?l???????????p??????A ?????D?????????????????????????B
  1. ?V?X?e???v???p?e?B ????????????????l?B
  2. jp/gr/java_conf/dangan/util/lha/resources/lha.properties ?????????????l?B
  3. ?f?t?H???g?l?B


?L?[?????????????????N???B
?L?[ ?????????l??????
lha.encoding String ???w?b?_????????????????????????p????G???R?[?f?B???O
lha.packages ?????????g???????N???X???p?b?P?[?W????????(?J???}??????)
lha.lzs.encoder -lzs- ?`???????????????s???I?u?W?F?N?g??????
lha.lz4.encoder -lz4- ?`???????????????s???I?u?W?F?N?g??????
lha.lz5.encoder -lz5- ?`???????????????s???I?u?W?F?N?g??????
lha.lh0.encoder -lh0- ?`???????????????s???I?u?W?F?N?g??????
lha.lh1.encoder -lh1- ?`???????????????s???I?u?W?F?N?g??????
lha.lh2.encoder -lh2- ?`???????????????s???I?u?W?F?N?g??????
lha.lh3.encoder -lh3- ?`???????????????s???I?u?W?F?N?g??????
lha.lh4.encoder -lh4- ?`???????????????s???I?u?W?F?N?g??????
lha.lh5.encoder -lh5- ?`???????????????s???I?u?W?F?N?g??????
lha.lh6.encoder -lh6- ?`???????????????s???I?u?W?F?N?g??????
lha.lh7.encoder -lh7- ?`???????????????s???I?u?W?F?N?g??????
lha.lhd.encoder -lhd- ?`???????????????s???I?u?W?F?N?g??????
lha.lzs.decoder -lzs- ?`?????f?[?^?????????????I?u?W?F?N?g??????
lha.lz4.decoder -lz4- ?`?????f?[?^?????????????I?u?W?F?N?g??????
lha.lz5.decoder -lz5- ?`?????f?[?^?????????????I?u?W?F?N?g??????
lha.lh0.decoder -lh0- ?`?????f?[?^?????????????I?u?W?F?N?g??????
lha.lh1.decoder -lh1- ?`?????f?[?^?????????????I?u?W?F?N?g??????
lha.lh2.decoder -lh2- ?`?????f?[?^?????????????I?u?W?F?N?g??????
lha.lh3.decoder -lh3- ?`?????f?[?^?????????????I?u?W?F?N?g??????
lha.lh4.decoder -lh4- ?`?????f?[?^?????????????I?u?W?F?N?g??????
lha.lh5.decoder -lh5- ?`?????f?[?^?????????????I?u?W?F?N?g??????
lha.lh6.decoder -lh6- ?`?????f?[?^?????????????I?u?W?F?N?g??????
lha.lh7.decoder -lh7- ?`?????f?[?^?????????????I?u?W?F?N?g??????
lha.lhd.decoder -lhd- ?`?????f?[?^?????????????I?u?W?F?N?g??????
lha.header LhaHeader ???C???X?^???X??????

?????????????????????`???????B
<????> ::= <?R???X?g???N?^> | <?z??> | <?u???????> | <?N???X??> | <?????>
<?R???X?g???N?^> ::= <?N???X??> '(' ???? ')'
<????> ::= [ <????> [ ',' <????> ] ]
<?z??> ::= '[' <?v?f> ']'
<?v?f> ::= [ <????> [ ',' <?v?f> ] ]

?N???X???? "lha.packages" ???????????l???g?p???????S?C???????????????????B
?u??????? ?????C?u???????????I?u?W?F?N?g???u??????????????? ??????????4?????????`??????????B
lha.???.encoder out ???k?????f?[?^?????????? java.io.OutputStream
lha.???.decoder in ???k?f?[?^?????????? java.io.InputStream
length ?????????????f?[?^???o?C?g??
lha.header data ?w?b?_?f?[?^???i?[???? byte?z??
encoding ?w?b?_????????f?[?^?? String ???????????????g?p?????G???R?[?f?B???O

 -- revision history --
 $Log: LhaProperty.java,v $
 Revision 1.0.2.2  2005/04/29 02:15:53  dangan
 [bug fix]
     createDefaultProperty() ?????k?@?????q -lhd- ?p???G???R?[?_???f?R?[?_??????????????????????B

 Revision 1.0.2.1  2004/06/27 12:09:49  dangan
 [bugfix]
     ???????J???}???g???~?????????s???I?h???g????????????C???B

 Revision 1.0  2002/12/05 00:00:00  dangan
 first edition
 add to version control

 
Version:
$Revision: 1.0.2.2 $
Author:
$Author: dangan $
  • Field Details

    • encoding

      public static final String encoding
      LHA Library for Java ?? ?? ?f?t?H???g???g?p???????G???R?[?f?B???O
  • Method Details

    • getProperty

      public static String getProperty(String key)
      LHA Library for Java ???v???p?e?B???? key ?????????????????????????B
      Parameters:
      key - ?v???p?e?B???L?[
      Returns:
      ?u???p?e?B???????
    • getProperties

      public static Properties getProperties()
      LHA Library for Java ???v???p?e?B???R?s?[???????B
      Returns:
      ?v???p?e?B???R?s?[
    • parse

      public static Object parse(String source, Hashtable substitute, String packages)
      LHA Library for Java ???v???p?e?B?p?? ???? source ?????????? ?V??? Object ?????????B
      Parameters:
      substitute - ?u?????????????key???????A?u??????Object???l?????? Hashtable
      packages - ?J???}?????????????p?b?P?[?W????????
      souce - ???????~??????
      Returns:
      ???????? Object
    • parse

      public static Object parse(String source, Hashtable substitute, String[] packages)
      LHA Library for Java ???v???p?e?B?p?? ???? source ?????????? ?V??? Object ?????????B
      Parameters:
      substitute - ?u?????????????key???????A?u??????Object???l?????? Hashtable
      packages - ?p?b?P?[?W?????z??
      souce - ???????~???????
      Returns:
      ???????? Object