public class ONameUtil extends Object
Modifier and Type | Field and Description |
---|---|
protected static BitSet |
ONAME
BitSet of safe characters for names in
ODocument s. |
Constructor and Description |
---|
ONameUtil() |
Modifier and Type | Method and Description |
---|---|
static String |
decodeName(String name)
Decode a name for
ODocument fields to its original string
representation. |
static String |
encodeName(String text)
Encode text to a string that is a valid name for
ODocument
fields. |
protected static final BitSet ONAME
ODocument
s.public static String encodeName(String text)
ODocument
fields.text
- the text to encodepublic static String decodeName(String name) throws org.apache.commons.codec.DecoderException
ODocument
fields to its original string
representation.name
- the name to decodeorg.apache.commons.codec.DecoderException
- if decoding the string failsBuild 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a