|
JSampler v0.8a |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jsampler.LscpUtils
public class LscpUtils
This class provides a collection of utility methods regarding LSCP protocol.
| Method Summary | |
|---|---|
static java.lang.String[] |
getCommandList()
Gets a list of all LSCP commands. |
static java.lang.String[] |
getCompletionPossibilities(java.lang.String cmd)
Gets all completion possibilities of the specified incomplete LSCP command. |
static boolean |
spellCheck(java.lang.String cmd)
Determines whether the specified command (or part of a command) is valid LSCP command. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static boolean spellCheck(java.lang.String cmd)
cmd - The command to be checked.
true if cmd is null,
empty string, or valid command (or part of a command).public static java.lang.String[] getCompletionPossibilities(java.lang.String cmd)
cmd - An incomplete command for which
all completion possibilities should be returned.
java.lang.IllegalStateException - If the specified part of a command is not valid.public static java.lang.String[] getCommandList()
|
JSampler v0.8a |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||