StringConverter providing support for Character object arrays
as a string, using backslash as an escape.
Double backslash is a backslash. One backslash followed by a dash is null.
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. | |
| CharObjectArrayStringConverterFactory | back to summary |
|---|---|
| private CharObjectArrayStringConverterFactory() 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 Character[] | |
| public static final CharObjectArrayStringConverterFactory. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static CharObjectArrayStringConverterFactory. | |
| public static CharObjectArrayStringConverterFactory. |
| EMPTY | back to summary |
|---|---|
| private static final Character[] EMPTY | |
| INSTANCE | back to summary |
|---|---|
| public static final CharObjectArrayStringConverterFactory. | |
| CharecterArrayStringConverter | back to summary |
|---|---|
| private CharecterArrayStringConverter() | |
| valueOf | back to summary |
|---|---|
| public static CharObjectArrayStringConverterFactory. | |
| values | back to summary |
|---|---|
| public static CharObjectArrayStringConverterFactory. | |