OSDN Git Service

Prepare for release
[dictzip-java/dictzip-java.git] / README.md
1 # dictzip-java
2 DictZip, GZip random access compression format(.dz), access library for Java
3
4 ## Usage
5
6 Extract archive in directory. If you want to use just library, `dictzip-lib.jar`
7 is an only file for you.
8 CLI is also made for example of API usage and will be a good reference.
9 Also there is a javadoc of DictZip at https://miurahr.github.io/dictzip-java
10
11 ### from maven
12
13 dictzip library is registered at JCenter repository. You can download
14 from JCenter specifying as follows:
15
16 ```
17 org.dict.zip:dictzip-lib:0.8.0
18 ```
19
20 ## Build
21
22 DictZip for java uses Gradle for build system. You can build library and CLI
23 by typing command:
24
25 ```
26 $ gradle build
27 ```
28
29 You will find archive files at
30
31 ```
32 dictzip-cli/build/distributions/dictzip-<version>.tgz
33 dictzip-cli/build/distributions/dictzip-<version>.zip
34 ```
35
36 ## Contribution
37
38 As usual of other projects hosted on GitHub, DictZip for java also welcome
39 forking source and send modification as a Pull Request.
40 It is recommended to post an issue before sending a patch.
41
42
43 ## Dependencies
44
45 DictZip library does not depend on any project without Java standard libraries.
46
47 DictZip CLI utility depends on some libraries.
48 It depends on JFrog bintray JCenter repository.
49
50 ### Runtime depenency
51
52 - java-getopts library(GPLv2+)
53
54 ### Test dependency
55
56 - TestNG framework(Apache2)
57 - Northside IO library(Apache2)
58
59
60 ## Copyrights and License
61
62 DictZip library for Java and command line utility.
63
64 Copyright (C) 2001-2004 Ho Ngoc Duc
65
66 Copyright (C) 2016 Hiroshi Miura
67
68 Some part of this program are come from a part of jdictd 1.5 on java.
69
70 DictZip command line utility is distributed under the terms of GNU General
71 Public License Version 3 or (at your option) any later version.
72
73 DictZip library is distributed under the terms of the GNU General Public License
74 Version 2 or (at your option) any later version with the following clarification
75 and special exception as same as GNU classpath.
76
77 Linking this library statically or dynamically with other modules is making
78 a combined work based on this library. Thus, the terms and conditions of
79 the GNU General Public License cover the whole combination.
80
81 As a special exception, the copyright holders of this library give you permission
82 to link this library with independent modules to produce an executable, regardless
83 of the license terms of these independent modules, and to copy and distribute
84 the resulting executable under terms of your choice, provided that you also meet,
85 for each linked independent module, the terms and conditions of the license of
86 that module. An independent module is a module which is not derived from or based on
87 this library. If you modify this library, you may extend this exception to
88 your version of the library, but you are not obligated to do so. If you do not wish
89 to do so, delete this exception statement from your version.
90
91 As such, it can be used to run, create and distribute a large class of applications
92 and applets. When this library is used unmodified as the core class library
93 for a virtual machine, compiler for the java languge, or for a program written
94 in the java programming language it does not affect the licensing for distributing
95 those programs directly.