From aa29484fe74aa2954df35c35306562404043daa9 Mon Sep 17 00:00:00 2001 From: Matthias Andreas Benkard Date: Tue, 28 Dec 2021 01:31:56 +0100 Subject: README: Add module overview. Change-Id: I8c4701e8d4561940025165dd3beb448e3443de36 --- README.md | 10 +++++++--- jgvariant-ostree/src/main/java/module-info.java | 3 +-- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 39d39e3..f1a2d05 100644 --- a/README.md +++ b/README.md @@ -5,13 +5,16 @@ This library provides a [GVariant][] parser in pure Java. ## Overview -Instances of `Decoder` read a given type of GVariant-encoded value -from a [ByteBuffer][]. The class also contains factory methods to -acquire those instances. +`jgvariant-core` provides `Decoder`, which read a given type of +GVariant-encoded value from a [ByteBuffer][]. The class also contains +factory methods to acquire those instances. The various subclasses of `Decoder` together implement the [GVariant serialization][] specification. +`jgvariant-ostree` provides instances of `Decoder` for various +[GVariant][] types used in [OSTree][] repositories. + ## Example @@ -89,4 +92,5 @@ pairs of [String][] and `int`, you can use the following code: [ByteBuffer]: https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/nio/ByteBuffer.html [GVariant]: https://docs.gtk.org/glib/struct.Variant.html [GVariant serialization]: https://people.gnome.org/~desrt/gvariant-serialisation.pdf +[OSTree]: https://ostreedev.github.io/ostree/ [String]: https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html diff --git a/jgvariant-ostree/src/main/java/module-info.java b/jgvariant-ostree/src/main/java/module-info.java index e51c586..4a59152 100644 --- a/jgvariant-ostree/src/main/java/module-info.java +++ b/jgvariant-ostree/src/main/java/module-info.java @@ -1,6 +1,5 @@ /** - * Provides a parser for the GVariant - * serialization format. + * {@link eu.mulk.jgvariant.core.Decoder} instances for OSTree repositories. * *