Package org.aion4j.avm.helper.util
Class MethodCallArgsUtil
- java.lang.Object
-
- org.aion4j.avm.helper.util.MethodCallArgsUtil
-
public class MethodCallArgsUtil extends Object
-
-
Constructor Summary
Constructors Constructor Description MethodCallArgsUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidmain(String[] args)static Object[]parseMethodArgs(String argsString)static Stringprint2DArray(Object data)Used to print return value in a call methodstatic StringprintArray(Object data)static String[]translateCommandline(String toProcess)Taken from maven-shared-utils package
-
-
-
Method Detail
-
parseMethodArgs
public static Object[] parseMethodArgs(String argsString) throws Exception
- Throws:
Exception
-
translateCommandline
public static String[] translateCommandline(String toProcess) throws MethodArgsParseException
Taken from maven-shared-utils package- Parameters:
toProcess- The command line to translate.- Returns:
- The array of translated parts.
- Throws:
MethodArgsParseException- in case of unbalanced quotes.
-
print2DArray
public static String print2DArray(Object data)
Used to print return value in a call method- Parameters:
data-- Returns:
-
-