public class NameUtils
extends java.lang.Object
| Constructor and Description |
|---|
NameUtils() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
toCommandName(java.lang.String scriptName)
Converts the name of command given a script name, e.g.
|
static java.lang.String |
toScriptName(java.lang.String commandName)
Converts a command name to the name of the script, e.g.
|
public static java.lang.String toCommandName(java.lang.String scriptName)
scriptName - The name of the script (e.g. RunApp)public static java.lang.String toScriptName(java.lang.String commandName)
commandName - The name of the command (e.g. run-app)