|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.grails.launcher.NameUtils
public class NameUtils
Utility methods for converting between script names used on the command line and their class names, and vice versa.
| Constructor Summary | |
|---|---|
NameUtils()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NameUtils()
| Method Detail |
|---|
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)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||