|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sage.orion.sdata.servlet.SDataKey
public final class SDataKey
Handles the conversion between the SData form of a key and an array of key segments.
SData leaves it to the application to decide how to form a key from multiple fields. This routine provides a consistent method that can be used. However applications are free to choose whichever method they wish; the methods in this class are not used by the framework itself.
Method Summary | |
---|---|
static java.lang.String[] |
fromSDataForm(java.lang.String key)
convert the SData form of the key to an array of key segments and decode them as needed to obtain pure strings |
static boolean |
isEmpty(java.lang.String key)
check if the key is an empty SData key |
static java.lang.String |
toSDataForm(java.lang.String... key)
convert the array of segments of the key to the SData form |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.lang.String[] fromSDataForm(java.lang.String key)
key
- the key in the SData form
public static java.lang.String toSDataForm(java.lang.String... key)
key
- an array of segments of the key
public static boolean isEmpty(java.lang.String key)
key
- the key in the SData form
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |