Package com.ctc.wstx.util
Class ArgUtil
java.lang.Object
com.ctc.wstx.util.ArgUtil
Simple static utility class that contains (static) utility methods useful
when parsing non-typesafe arguments (String-only configuration, command
line args).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
convertToBoolean
(String prop, Object value) static int
convertToInt
(String prop, Object value, int minValue) static long
convertToLong
(String prop, Object value, long minValue)
-
Constructor Details
-
ArgUtil
private ArgUtil()
-
-
Method Details
-
convertToBoolean
-
convertToInt
-
convertToLong
-