Package org.codehaus.groovy.tools
Class Utilities
java.lang.Object
org.codehaus.groovy.tools.Utilities
public abstract class Utilities
extends java.lang.Object
Various utility functions for use in the compiler.
- 
Constructor SummaryConstructors Constructor Description Utilities()
- 
Method SummaryModifier and Type Method Description static java.lang.Stringeol()Returns the end-of-line marker.static booleanisJavaIdentifier(java.lang.String name)Tells if the given string is a valid Java identifier.static java.lang.StringrepeatString(java.lang.String pattern, int repeats)Returns a string made up of repetitions of the specified string.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
- 
Constructor Details- 
Utilitiespublic Utilities()
 
- 
- 
Method Details- 
repeatStringpublic static java.lang.String repeatString(java.lang.String pattern, int repeats)Returns a string made up of repetitions of the specified string.
- 
eolpublic static java.lang.String eol()Returns the end-of-line marker.
- 
isJavaIdentifierpublic static boolean isJavaIdentifier(java.lang.String name)Tells if the given string is a valid Java identifier.
 
-