|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.csutils.groovy.GroovyObjects
public class GroovyObjects
Constructor Summary | |
---|---|
GroovyObjects()
|
Method Summary | |
---|---|
static void |
checkNoArgs(String pMethodName,
Object pArgs)
Checks, whether the given argument is suitable for a method taking no arguments. |
static void |
checkNoArgs(String pMethodName,
Object[] pArgs)
Checks, whether the given argument is suitable for a method taking no arguments. |
static String |
checkStringArg(String pMethodName,
Object[] pArgs)
Checks, whether the given signature contains a single string. |
static Locale |
getLocaleArg(String pMethodName,
Object pArgs)
Converts the given arguments into a locale. |
static Locale |
getLocaleArg(String pMethodName,
Object[] pArgs)
Converts the given arguments into a locale. |
static String |
getStringArg(String pMethodName,
Object pArgs)
Converts the given arguments into a string. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GroovyObjects()
Method Detail |
---|
public static Locale getLocaleArg(String pMethodName, Object[] pArgs)
pMethodName
- The method name; will be used for error messages, if required.pArgs
- The method arguments.
public static Locale getLocaleArg(String pMethodName, Object pArgs)
pMethodName
- The method name; will be used for error messages, if required.pArgs
- The method arguments.
public static String getStringArg(String pMethodName, Object pArgs)
pMethodName
- The method name; will be used for error messages, if required.pArgs
- The method arguments.
public static void checkNoArgs(String pMethodName, Object pArgs)
pMethodName
- The method name; will be used for error messages, if required.pArgs
- The method arguments.public static void checkNoArgs(String pMethodName, Object[] pArgs)
pMethodName
- The method name; will be used for error messages, if required.pArgs
- The method arguments.public static String checkStringArg(String pMethodName, Object[] pArgs)
pMethodName
- The method name; will be used for error messages, if required.pArgs
- The method arguments.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |