Package org.codehaus.groovy.tools
Class Utilities
java.lang.Object
org.codehaus.groovy.tools.Utilities
Various utility functions for use in the compiler.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
eol()
Returns the end-of-line marker.static boolean
isJavaIdentifier
(String name) Tells if the given string is a valid Java identifier.static String
repeatString
(String pattern, int repeats) Returns a string made up of repetitions of the specified string.
-
Constructor Details
-
Utilities
public Utilities()
-
-
Method Details
-
repeatString
Returns a string made up of repetitions of the specified string. -
eol
Returns the end-of-line marker. -
isJavaIdentifier
Tells if the given string is a valid Java identifier.
-