SerializableStringifier

public abstract class SerializableStringifier<T> extends Stringifier<T> implements Serializable

Abstract base serializable stringifiers.

Parameters

<T>

the type to stringify

Inheritors

Constructors

Link copied to clipboard
protected void SerializableStringifier(String identity)
Creates a new instance with the passed identity.

Functions

Link copied to clipboard
public final String toString()
Returns the identity of the stringifier.

Inherited functions

Link copied to clipboard
protected final T doBackward(String str)
Invokes fromString.
Link copied to clipboard
protected final String doForward(T obj)
Invokes toString.
Link copied to clipboard
protected abstract T fromString(String s)
Convert the string back to a thing.
Link copied to clipboard
protected abstract String toString(T obj)
Convert the thing to a string.