Modifier and Type | Field and Description |
---|---|
static String |
NULL
NULL string identifier
|
static PrintStream |
NULL_PRINT_STREAM
Null print stream to redirect std streams
|
Modifier and Type | Method and Description |
---|---|
static JMXServiceURL |
getUrl(String url,
JavaProcessManager jpm) |
static boolean |
isNull(String s)
Check if string value is
null |
static Object |
parse(String expression,
String type)
Parse given string expression to expected type of value
|
public static final String NULL
public static final PrintStream NULL_PRINT_STREAM
public static JMXServiceURL getUrl(String url, JavaProcessManager jpm) throws IOException
url
- String expression of MBean server URL or abbreviation like localhost:9991jpm
- Java process manager to get process URLIOException
- IO errorpublic static boolean isNull(String s)
null
s
- String valuenull
Copyright © 2008–2018. All rights reserved.