| Modifier and Type | Class and Description |
|---|---|
| public static class | LangUtil.ProcessController
Handle an external process asynchrously. |
| public static class | LangUtil.StringChecker
check if input contains any packages to elide. |
| Modifier and Type | Field and Description |
|---|---|
| public static final String | |
| public static final String | |
| private static double |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static boolean | Returns: true if input + delimiter added to sinkignored if null input, StringBuffer the StringBuffer to add input to - return false if null sink, String the String to append to input when added - ignored if empty delimiter)
|
| public static List | |
| public static <T> List | Returns: the List corresponding to array (never null)the Object[] to convert (may be null) array)Replacement for Arrays.asList(..) which gacks on null and returns a List in which remove is an unsupported operation. |
| public static List | Returns: List of String of elements.String to split.Splits |
| public static String[][] | |
| pack-priv static void | elideEndingLines(LangUtil.
returns true if trailing line should be elided. checker,StringBuffer with lines to elide stack, int int for maximum number of resulting lines maxLines)Trim ending lines from a StringBuffer, clipping to maxLines and further removing any number of trailing lines accepted by checker. |
| public static String[] | Returns: String[] of args remaining after extracting options to extractedthe String[] input options args, String[][] the String[][]options to find in the input args - not null for each String[] component the first subcomponent
is the option itself, and there is one String subcomponent for each additional argument. options)Extract options and arguments to input option list, returning remainder. |
| public static boolean | Returns: true if value is set to true, false otherwiseGet System property as boolean, but use default value where the system property is not set. |
| public static File | Returns: File associated with the java command, or null if not found.Find java executable File path from java.home system property. |
| public static String | |
| private static List | |
| public static String | |
| public static double | |
| public static String | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static String | Returns: String combining classpath elementsGen classpath. |
| public static LangUtil. | Returns: initialized ProcessControllerthe ProcessController to initialize, if not null controller,Create or initialize a process controller to run a process in another VM asynchronously. |
| public static String | renderException(Throwable
Throwable to print.Renders exception |
| public static String | renderException(Throwable
Throwable to print.true to limit to 100 lines and elide test packages elide)Renders exception |
| public static String | |
| public static String | |
| public static Object[] | |
| public static <T> List | |
| public static boolean | Returns: true if delay succeeded, false if interrupted 100 timesthe long time in milliseconds to sleep until time)Sleep until a particular time. |
| public static String[] | |
| public static String[] | Returns: String[] of classpath entriesthe String to split - may be null or empty classpath)Split string as classpath, delimited at File.pathSeparator. |
| public static StringBuffer | |
| public static List | |
| public static final void | throwIaxIfFalse(final boolean test, final String message)
Shorthand for "if false, throw IllegalArgumentException" |
| public static final void | throwIaxIfNotAssignable(final Object[] ra, final Class<?>
the Class to check - use null to ignore type check c, final String name)Shorthand for "if not null or not assignable, throw IllegalArgumentException" |
| public static final void | throwIaxIfNotAssignable(final Object o, final Class<?> c, final String name)
Shorthand for "if not null or not assignable, throw IllegalArgumentException" |
| public static final void | throwIaxIfNull(final Object o, final String name)
Shorthand for "if null, throw IllegalArgumentException" |
| public static String | |
| public static String | Returns: a String with the unqualified class name of the class (or "null")
|
| public static String | Returns: a String with the unqualified class name of the object (or "null")
|
| public static Throwable |