add usage in README

This commit is contained in:
Jörg Prante 2016-08-18 21:24:09 +02:00
parent 931e2b9cda
commit 5d615d88f0

View file

@ -11,7 +11,26 @@ system software.
The reason to provide these character sets is to assist the public The reason to provide these character sets is to assist the public
in migrating library data to Unicode, and UTF-8, respectively. in migrating library data to Unicode, and UTF-8, respectively.
You can include this jar in the classpath, the Java CharsetProvider and ## Usage
With Maven
<dependency>
<groupId>org.xbib</groupId>
<artifactId>bibliographic-character-sets</artifactId>
<version>1.0.0</version>
</dependency>
With Gradle
configurations {
provided
}
dependencies {
provided 'org.xbib:bibliographic-character-sets:1.0.0'
}
You can also include this jar in the classpath, the Java CharsetProvider and
ServiceLoader API will then make the character sets available, ServiceLoader API will then make the character sets available,
e.g. by `Charset.forName(name)` e.g. by `Charset.forName(name)`