Package org.codehaus.groovy.tools
Class Utilities
- java.lang.Object
- 
- org.codehaus.groovy.tools.Utilities
 
- 
 public abstract class Utilities extends Object Various utility functions for use in the compiler.
- 
- 
Constructor SummaryConstructors Constructor Description Utilities()
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static Stringeol()Returns the end-of-line marker.static booleanisJavaIdentifier(String name)Tells if the given string is a valid Java identifier.static StringrepeatString(String pattern, int repeats)Returns a string made up of repetitions of the specified string.
 
- 
- 
- 
Method Detail- 
repeatStringpublic static String repeatString(String pattern, int repeats) Returns a string made up of repetitions of the specified string.
 - 
eolpublic static String eol() Returns the end-of-line marker.
 - 
isJavaIdentifierpublic static boolean isJavaIdentifier(String name) Tells if the given string is a valid Java identifier.
 
- 
 
-