org.das2.qstream.SerializeDelegate
interface for serializing (formatting) and parsing objects.
format
format( Object o ) → String
format the object.
Parameters
o - the object
Returns:
the string representation of the object.
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
parse
parse( String typeId, String s ) → Object
parse the object from the string
Parameters
typeId - the type ID
s - the string, e.g. "royalBlue"
Returns:
the object, e.g. Color.decode("#4169E1")
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
typeId
typeId( java.lang.Class clas ) → String
identifier for the delegate, that is used to qualify the name of the thing formatted.
Parameters
clas - the class
Returns:
a String
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]