Class Util
java.lang.Object
org.apache.tomcat.util.modeler.Util
Utility class for modeler operations.
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanobjectNameValueNeedsQuote(String input) Determines whether the given string value needs to be quoted when used in an ObjectName.
-
Method Details
-
objectNameValueNeedsQuote
Determines whether the given string value needs to be quoted when used in an ObjectName.- Parameters:
input- The string value to check- Returns:
trueif the value contains characters that require quoting,falseotherwise
-