Package com.cloudbees.groovy.cps
Class CpsStringGroovyMethods
java.lang.Object
com.cloudbees.groovy.cps.CpsStringGroovyMethods
@Generated(value="com.cloudbees.groovy.cps.tool.Translator",
comments="based on groovy-cps-dgm-builder-4177.vb_203fe395445-jar-with-dependencies.jar")
public class CpsStringGroovyMethods
extends Object
-
Method Summary
Modifier and TypeMethodDescriptionstatic Stringstatic Stringstatic <T extends CharSequence>
TeachMatch(T self, CharSequence regex, groovy.lang.Closure closure) static <T extends CharSequence>
Tstatic Stringfind(CharSequence self, CharSequence regex, groovy.lang.Closure closure) static Stringfind(CharSequence self, Pattern pattern, groovy.lang.Closure closure) static Stringstatic Stringstatic <T> List<T>findAll(CharSequence self, CharSequence regex, groovy.lang.Closure<T> closure) static <T> List<T>findAll(CharSequence self, Pattern pattern, groovy.lang.Closure<T> closure) static <T> List<T>static <T> List<T>static StringreplaceAll(CharSequence self, CharSequence regex, groovy.lang.Closure closure) static StringreplaceAll(CharSequence self, Pattern pattern, groovy.lang.Closure closure) static StringreplaceAll(String self, String regex, groovy.lang.Closure closure) static StringreplaceAll(String self, Pattern pattern, groovy.lang.Closure closure) static StringreplaceFirst(CharSequence self, CharSequence regex, groovy.lang.Closure closure) static StringreplaceFirst(CharSequence self, Pattern pattern, groovy.lang.Closure closure) static StringreplaceFirst(String self, String regex, groovy.lang.Closure closure) static StringreplaceFirst(String self, Pattern pattern, groovy.lang.Closure closure) static StringtakeWhile(groovy.lang.GString self, groovy.lang.Closure condition) static CharSequencetakeWhile(CharSequence self, groovy.lang.Closure condition)
-
Method Details
-
eachMatch
public static <T extends CharSequence> T eachMatch(T self, CharSequence regex, groovy.lang.Closure closure) -
eachMatch
public static <T extends CharSequence> T eachMatch(T self, Pattern pattern, groovy.lang.Closure closure) -
eachMatch
-
eachMatch
-
findAll
public static <T> List<T> findAll(CharSequence self, CharSequence regex, groovy.lang.Closure<T> closure) -
findAll
public static <T> List<T> findAll(CharSequence self, Pattern pattern, groovy.lang.Closure<T> closure) -
findAll
-
findAll
-
find
-
find
-
find
-
find
-
replaceAll
-
replaceAll
-
replaceAll
-
replaceAll
-
replaceFirst
public static String replaceFirst(CharSequence self, CharSequence regex, groovy.lang.Closure closure) -
replaceFirst
-
replaceFirst
-
replaceFirst
-
takeWhile
-
takeWhile
-