public final class BinaryContext extends Object
Modifier and Type | Field and Description |
---|---|
static boolean |
NBSP
Use 'Non-Breaking SPace' character instead of ardinary 'space' character.
|
Constructor and Description |
---|
BinaryContext() |
Modifier and Type | Method and Description |
---|---|
protected void |
configureFormat(Format format,
Object object) |
byte[] |
enforce(byte[] object)
Will force the object to conform to the context's specification.
|
String |
format(Object object) |
F |
getFormat() |
protected String |
handleFormatException(Format format,
Object object) |
protected byte[] |
handleParseException(Format format,
String string) |
<G> TypeContext<G> |
newFormat(F format) |
T |
parse(CharSequence string) |
public static final boolean NBSP
public byte[] enforce(byte[] object)
TypeContext
public final String format(Object object)
format
in interface TypeContext<T>
TypeContext.format(java.lang.Object)
public final F getFormat()
public final <G> TypeContext<G> newFormat(F format)
public final T parse(CharSequence string)
parse
in interface TypeContext<T>
TypeContext.parse(CharSequence)
Copyright © 2019 Optimatika. All rights reserved.