Package jenkins.util
Class SourceCodeEscapers
java.lang.Object
jenkins.util.SourceCodeEscapers
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
public final class SourceCodeEscapers
extends Object
-
Method Summary
Modifier and TypeMethodDescriptionstatic com.google.common.escape.CharEscaper
Returns anEscaper
instance that escapes special characters in a string so it can safely be included in either a Java character literal or string literal.
-
Method Details
-
javaCharEscaper
public static com.google.common.escape.CharEscaper javaCharEscaper()Returns anEscaper
instance that escapes special characters in a string so it can safely be included in either a Java character literal or string literal.
-