public final class JmxUtil
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
quoteValueIfRequired(java.lang.String unquotedValue)
Checks if the passed value string can be used as is as part of
JMX
ObjectName If it cannot be used then
it would return a quoted string which is then safe to be used
as part of ObjectName. |
public static java.lang.String quoteValueIfRequired(java.lang.String unquotedValue)
ObjectName If it cannot be used then
it would return a quoted string which is then safe to be used
as part of ObjectName.
This is meant to avoid unnecessary quoting of value
unquotedValue - to quote if requiredCopyright © 2010 - 2023 Adobe. All Rights Reserved