Package org.codehaus.groovy.tools
Class Utilities
java.lang.Object
org.codehaus.groovy.tools.Utilities
Various utility functions for use in the compiler.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic 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.
- 
Constructor Details- 
Utilitiespublic Utilities()
 
- 
- 
Method Details- 
repeatStringReturns a string made up of repetitions of the specified string.
- 
eolReturns the end-of-line marker.
- 
isJavaIdentifierTells if the given string is a valid Java identifier.
 
-