Package org.harctoolbox.cmdline
Class CmdUtils
java.lang.Object
org.harctoolbox.cmdline.CmdUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidcheckForOption(String functionName, List<String> args) static Stringexecute(Class<? extends CmdLineProgram> clazz, String[] args) static StringrestoreStdErr(ByteArrayOutputStream errBytes) static String[]shellSplit(String string) static ByteArrayOutputStream
-
Method Details
-
checkForOption
- Throws:
UsageException
-
shellSplit
-
execute
-
storeStdErr
-
restoreStdErr
-