| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
bytesToString(byte[] bytes) |
static Cog |
convertToCog(java.lang.Object pojo)
Convert from a regular Java object to a Cog.
|
static java.lang.Object |
convertToObject(Cog node)
Convert from a Cog to a regular Java object.
|
static Coggable |
instantiateCoggable(java.lang.Class classy,
Cog cog)
Instantiates a new Coggable object from he given class and state.
|
static boolean |
isIndexPart(java.lang.String part)
Returns true if the path part is an index identifier like [1].
|
static int |
parseIndexFrom(java.lang.String part)
Returns the integer index parsed from an index path part like [1].
|
static java.lang.String[] |
parseParameterizedTypeName(java.lang.String typeName)
Converts a parameterized type name to an array of Strings.
|
static byte[] |
stringToBytes(java.lang.String byteString) |
public static Cog convertToCog(java.lang.Object pojo)
pojo - Object to convert.public static java.lang.Object convertToObject(Cog node)
node - Cog to convert.public static java.lang.String[] parseParameterizedTypeName(java.lang.String typeName)
typeName - parameterized type namepublic static Coggable instantiateCoggable(java.lang.Class classy, Cog cog)
cog - public static byte[] stringToBytes(java.lang.String byteString)
public static java.lang.String bytesToString(byte[] bytes)
public static boolean isIndexPart(java.lang.String part)
part - public static int parseIndexFrom(java.lang.String part)
part -