Package | Description |
---|---|
com.hp.util.codec |
Collection of facilities to transform data structures to some string encodement andback again, to support the persistence of those data structures.
|
Modifier and Type | Interface and Description |
---|---|
interface |
EntropicStringCodec
This interface extends
StringCodec , defining methods for adding new
string encodings after construction. |
Modifier and Type | Class and Description |
---|---|
class |
ClassNameCodec
This class is a specialization of
EntropicStringSetCodec that
is tailored specifically for mapping (fully qualified) class names. |
class |
EntropicStringSetCodec
This class is a specialization of
StringSetCodec that allows
mappings to be added to the codec after it has been constructed. |
class |
StringSetCodec
This class takes a set of strings and provides an implementation of
StringCodec that encodes each given string to a shorter, but unique
alternate. |
Modifier and Type | Method and Description |
---|---|
static <E extends Enum<E>> |
CodecFactory.createCodecForEnumNames(Class<E> eClass)
A convenience method to create a string codec for
the constant names of the specified enumeration class.
|
static StringCodec |
CodecFactory.createGeneralCodec(Set<String> originals)
A convenience method to create a string codec for a general
set of strings.
|
Copyright © 2016. All Rights Reserved.