StringConverter providing support for Byte object array
as a sequence of two letter hex codes for each byte plus '--' for null.
This is intended as a human readable format, not a compact format.
To use, simply register the instance with a StringConvert instance.
This class is immutable and thread-safe.
| Modifier and Type | Class and Description |
|---|---|
| pack-priv static enum |
| Modifier and Type | Field and Description |
|---|---|
| public static final StringConverterFactory | INSTANCE
Singleton instance. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public StringConverter | Returns: the converter, null if not foundthe type to lookup, not null cls)Implements org. |
| public String |
| INSTANCE | back to summary |
|---|---|
| public static final StringConverterFactory INSTANCE Singleton instance. | |
| ByteObjectArrayStringConverterFactory | back to summary |
|---|---|
| private ByteObjectArrayStringConverterFactory() Restricted constructor. | |
| findConverter | back to summary |
|---|---|
| public StringConverter Implements org. Finds a converter by type.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| Modifier and Type | Field and Description |
|---|---|
| private static final Byte[] | |
| private static final String | |
| public static final ByteObjectArrayStringConverterFactory. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static ByteObjectArrayStringConverterFactory. | |
| public static ByteObjectArrayStringConverterFactory. |
| EMPTY | back to summary |
|---|---|
| private static final Byte[] EMPTY | |
| HEX | back to summary |
|---|---|
| private static final String HEX | |
| INSTANCE | back to summary |
|---|---|
| public static final ByteObjectArrayStringConverterFactory. | |
| ByteArrayStringConverter | back to summary |
|---|---|
| private ByteArrayStringConverter() | |
| valueOf | back to summary |
|---|---|
| public static ByteObjectArrayStringConverterFactory. | |
| values | back to summary |
|---|---|
| public static ByteObjectArrayStringConverterFactory. | |