Package com.ctc.wstx.util
Class ArgUtil
- java.lang.Object
-
- com.ctc.wstx.util.ArgUtil
-
public final class ArgUtil extends Object
Simple static utility class that contains (static) utility methods useful when parsing non-typesafe arguments (String-only configuration, command line args).
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
convertToBoolean(String prop, Object value)
static int
convertToInt(String prop, Object value, int minValue)
static long
convertToLong(String prop, Object value, long minValue)
-