Package com.github.f4b6a3.uuid.codec.uri
Class UriCodec
- java.lang.Object
-
- com.github.f4b6a3.uuid.codec.uri.UriCodec
-
public class UriCodec extends Object implements UuidCodec<URI>
Codec for UUID URIs (specifically URNs). TheUriCodecencodes UUID to and from an opaqueURI. The RFC-4122 defines a URN namespace for UUIDs. URNs are opaque URIs. The URN namespace representation adds the prefix 'urn:uuid:' to a UUID canonical representation. See: https://github.com/f4b6a3/uuid-creator/issues/32 See also: https://stackoverflow.com/questions/4913343/what-is-the-difference-between-uri-url-and-urn
-
-
Constructor Summary
Constructors Constructor Description UriCodec()
-
-
-
Field Detail
-
INSTANCE
public static final UriCodec INSTANCE
A shared immutable instance.
-
-