groovy.util |
package groovy.util.*
Various Groovy utilities for working with nodes, builders, logging, JUnit test cases, text expressions, Ant tasks or JMX MBeans.
|
Java Source File Name | Type | Comment |
AllTestSuite.java | Class | AllTestSuite can be used in extension of GroovyTestSuite to execute TestCases written in Groovy
from inside a Java IDE. |
AntBuilder.java | Class | |
BuilderSupport.java | Class | |
CharsetToolkit.java | Class | Utility class to guess the encoding of a given text file.
Unicode files encoded in UTF-16 (low or big endian) or UTF-8 files
with a Byte Order Marker are correctly discovered. |
ClosureComparator.java | Class | |
Eval.java | Class | Allow easy integration from Groovy into Java through convenience methods. |
Expando.java | Class | Represents a dynamically expandable bean. |
GroovyLog.java | Class | Represents an arbitrary logging service. |
GroovyMBean.java | Class | A GroovyObject facade for an underlying MBean which acts like a normal
groovy object but which is actually implemented via
an underlying JMX MBean. |
GroovyScriptEngine.java | Class | Specific script engine able to reload modified scripts as well as dealing properly with dependent scripts. |
GroovyTestCase.java | Class | A default JUnit TestCase in Groovy. |
GroovyTestSuite.java | Class | A TestSuite which will run a Groovy unit test case inside any Java IDE
either as a unit test case or as an application.
You can specify the GroovyUnitTest to run by running this class as an appplication
and specifying the script to run on the command line.
java groovy.util.GroovyTestSuite src/test/Foo.groovy
Or to run the test suite as a unit test suite in an IDE you can use
the 'test' system property to define the test script to run.
e.g. |
IFileNameFinder.java | Interface | |
IndentPrinter.java | Class | |
MapEntry.java | Class | Represents a list of Integer objects key a specified Object up to but not including
a given and to. |
Node.java | Class | Represents an arbitrary tree node which can be used for structured metadata or any arbitrary XML-like tree.
A node can have a name, a value and an optional Map of attributes.
Typically the name is a String and a value is either a String or a List of other Nodes,
though the types are extensible to provide a flexible structure, e.g. |
NodeBuilder.java | Class | |
NodeList.java | Class | A List implementation which is returned by queries on a
Node which provides some XPath like helper methods for GPath. |
NodePrinter.java | Class | |
OrderBy.java | Class | A helper class for sorting objects via a closure to return the field
or operation on which to sort. |
Proxy.java | Class | Dynamic groovy proxy for another object. |
ResourceConnector.java | Interface | Base interface for customizing where resources can be found for the GroovyScriptEngine . |
ResourceException.java | Class | |
ScriptException.java | Class | |
XmlNodePrinter.java | Class | Prints a node with all childs in XML format. |
XmlParser.java | Class | A helper class for parsing XML into a tree of Node instances for
a simple way of processing XML. |
XmlSlurper.java | Class | |