|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
languageShortName
using a newly created ScriptEngineManager
instance.UnsupportedOperationException
for an empty range.UnsupportedOperationException
for an empty range.UnsupportedOperationException
for an empty range.ModuleNode.addStarImport(String)
ModuleNode.addStaticStarImport(String, ClassNode)
ModuleNode.addStaticImport(ClassNode, String, String)
AnnotationNode
conforms to annotation meta
- enhancing an AnnotationNode
AST to reflect real annotation metaClassWriter.visitor
method calls.Reduction
from this node.Reduction
from this node.Reduction
from this token.Reduction
from this token, adding the supplied
node as the second element.Reduction
from this token, adding the supplied
nodes as the second and third element, respectively.Reduction
from this token, adding the supplied
nodes as the second, third, and fourth element, respectively.
assert i !
GroovyASTTransformation
.Writable
or delegates to default
DefaultGroovyMethods.asType(java.lang.Object, java.lang.Class)
.DefaultGroovyMethods.asType(java.lang.Object, java.lang.Class)
as
operator.Writable
.null
).@Bindable
annotation when @Vetoable
is not present.FullBinding
s on the source half to the model
object for every property reference (and I do mean every, valid or not, queried before or not).Attributes
from a Map
asBoolean()
method added on types.CharsetToolkit
utility class.SecurityException
.DateGroovyMethods.clearTime(java.util.Date)
DateGroovyMethods.clearTime(java.sql.Date)
DateGroovyMethods.clearTime(java.util.Calendar)
ModuleNode
instances.Collection.contains(java.lang.Object)
to make Strings more polymorphic.from
value for the range and less than or equal to the to
value.this.firePropertyChange("field", field, field = value)
this.fireVetoableChange("field", field, field = value)
field = value
Used when the field is not also @BindableEncodingGroovyMethods.decodeBase64(java.lang.String)
@Delegate
annotationtrue
if the intersection of two collections is empty.AntBuilder.createNode(Object, Map, Object)
but the one made ready by AntBuilder.nodeCompleted(Object, Object)
dot( base, "" )
.DefaultGroovyMethods.isCase(java.lang.Object, java.lang.Object)
method to determine if a match occurs.DefaultGroovyMethods.isCase(java.lang.Object, java.lang.Object)
method to determine if a match occurs.DefaultGroovyMethods.isCase(java.lang.Object, java.lang.Object)
method to determine if a match occurs.rowClosure
with each row of the
result set.EmptyRange
.ExpandoMetaClassCreationHandle.enable();
EncodingGroovyMethods.encodeBase64(java.lang.Byte[], boolean)
EncodingGroovyMethods.encodeBase64(java.lang.Byte[])
EncodingGroovyMethods.encodeBase64(byte[], boolean)
EncodingGroovyMethods.encodeBase64(byte[])
IntRange
to another IntRange
.ObjectRange
to another ObjectRange
.eval(ScriptEngine, Reader, Binding)
except that the
source of the script is provided as a Reader
true
according to the Groovy Truth.self
as a command-line process.self
with environment defined by envp
and under the working directory dir
.self
with environment defined
by envp
and under the working directory dir
.String
array.String
array given in the first parameter,
with the environment defined by envp
and under the working directory dir
.String
array given in the first parameter,
with the environment defined by envp
and under the working directory dir
.envp
and under the working directory dir
.envp
and under the working directory dir
.FileIterator
is an iterator over a
number of files from a collection of FileSet instances.FileScanner
is a bean which allows the iteration
over a number of files from a collection of FileSet instances.DefaultGroovyMethods.traverse(java.io.File, java.util.Map, groovy.lang.Closure)
and related methods to control subsequent traversal behavior.SimpleDateFormat
to output a String representation
of this calendar instance.DateGroovyMethods.format(java.util.Date, java.lang.String)
DateGroovyMethods.format(java.util.Calendar, java.lang.String)
MessageFormat
using the message
from the resource bundles using the given code as a pattern and the
given objects as arguments.IndexOutOfBoundsException
for an empty range.Object
.def list = [1, "a", 4.5, true] assert list[1..2] == ["a", 4.5]
def list = [true, 1, 3.4] assert list[0..<0] == []
assert [String, Long, Integer] == ["a",5L,2]["class"]
DateGroovyMethods.getAt(java.util.Date, int)
Charset
s on the platform,
among which the default charset
.DateFormat.SHORT
default format.DateGroovyMethods.getDateString(java.util.Date)
DateFormat
.DateGroovyMethods.getDateTimeString(java.util.Date)
true
if attribute values are output with
double quotes; false
if single quotes are used.ModuleNode.getStarImports()
String.metaClass.myMethod = { println "foo" }
MetaProperty
objects for 'self' and wraps it
in a list of PropertyValue
objects that additionally provide
the value for each property of 'self'.MarkupBuilderHelper.yield(String)
,
MarkupBuilderHelper.yieldUnescaped(String)
,
MarkupBuilderHelper.pi(Map)
,
MarkupBuilderHelper.xmlDeclaration(Map)
and
MarkupBuilderHelper.comment(String)
.break foo
inside a loop to end the
execution of the marked loop.continue foo
inside a loop to continue
the execution of the marked loop.ClassLoader
that will serve as the parent ClassLoader of the
GroovyClassLoader
in which scripts will be executed.DefaultGroovyMethods.getMetaPropertyValues(java.lang.Object)
(self)
and provides the data in form of simple key/value pairs, i.e.Object
.BufferedReader
(indeed a LineNumberReader
) from the File
specified in the constructor of CharsetToolkit
using the charset discovered by the
method guessEncoding()
.URLConnection
to retrieve a script
from the ResourceConnector
.ModuleNode.getStaticImports()
ModuleNode.getStaticStarImports()
ModuleNode.getStaticImports()
DateFormat.MEDIUM
default format.DateGroovyMethods.getTimeString(java.util.Date)
@Grapes
annotation to modify grab configuration.@GrabResolver
(name='restlet.org', root='http://maven.restlet.org')
@Grab
(group='org.restlet', module='org.restlet', version='1.1.6')
class MyRestlet extends org.restlet.Restlet {
// ...
}
DefaultGroovyMethods.isCase(java.lang.Object, java.lang.Object)
method used by switch statements.ASTTransformation
.invokeMethod
mechanism
of GroovyObject
.ScriptEngines
and also exposes metadata describing
Groovy's engine class.@Bindable
.RetentionPolicy.CLASS
.RetentionPolicy
.RetentionPolicy.SOURCE
.@Vetoable
.@
IndexedProperty annotation.@
InheritConstructors annotation.IntRange
.IntRange
.Pattern
class, which allows
testing a String against a number of regular expressions.compareTo()
method for comparing numbers of different
types.IO.Verbosity.DEBUG
.IO.Verbosity.INFO
.IO.Verbosity.QUIET
.IO.Verbosity.VERBOSE
.Iterator
which traverses each match.XmlGroovyMethods.iterator(org.w3c.dom.NodeList)
Iterator
which traverses the Container one Component at a time.Iterator
which traverses the ButtonGroup one AbstractButton at a time.Iterator
which traverses the ListModel one element at a time.Iterator
which traverses the DefaultListModel one element at a time.Iterator
which traverses the ComboBox one item at a time.Iterator
which traverses the MutableComboBoxModel one item at a time.Iterator
which traverses the TableModel one row at a time.Iterator
which traverses the DefaultTableModel one item at a time.Iterator
which traverses the TableColumnModel one TableColumn at a time.Iterator
which traverses the TreePath one path at a time.Iterator
which traverses the TreeNode one node at a time.Iterator
which traverses the JMenu one component at a time.Iterator
which traverses the JMenuBar one menu at a time.Iterator
which traverses the JPopupMenu one MenuElement at a time.Iterator
which traverses the JTabbedPane one Component tab at a time.toString()
representation of each
item from the iterator, with the given String as a separator between
each item.toString()
representation of each
item in this collection, with the given String as a separator between
each item.toString()
representation of each
items in this array, with the given String as a separator between each
item.ResourceBundle
instances for simple i18n support.Method
except without using reflection to invoke the methodDateGroovyMethods.minus(java.util.Date, int)
DateGroovyMethods.minus(java.sql.Date, int)
DateGroovyMethods.minus(java.util.Calendar, java.util.Calendar)
DateGroovyMethods.minus(java.util.Date, java.util.Date)
QName
instances.Reduction
with Token.NULL
as it's root.DateGroovyMethods.next(java.util.Date)
DateGroovyMethods.next(java.sql.Date)
gotoPhase( phase + 1 )
.name
and if a parent is supplied, adds
the newly created node as a child of the parent.name
with value value
and
if a parent is supplied, adds the newly created node as a child of the parent.name
with
attributes specified in the attributes
Map.name
with value value
and
with attributes specified in the attributes
Map.Node
which provides some XPath like helper methods for GPath.System.exit(int)
(and related) from being used.ObjectRange
.Map
containing all entries from left
and right
,
giving precedence to right
.Map
containing all entries from self
and entries
,
giving precedence to entries
.DateGroovyMethods.plus(java.util.Date, int)
DateGroovyMethods.plus(java.sql.Date, int)
"1.5"
) is the value for targetBytecode to compile for a JDK 1.5 or later JVM."1.4"
) is the value for targetBytecode to compile for a JDK 1.4 JVM.
getResultSet()
object.DateGroovyMethods.previous(java.util.Date)
DateGroovyMethods.previous(java.sql.Date)
PrintStream
key
to the specified
value
in this table.key
to the specified
value
in this table.Object
value.QName
class represents the value of a qualified name
as specified in XML
Schema Part2: Datatypes specification.ResultSet
object.ResultSet
object.ResultSet
object.from
value and calling next()
successively
until you reach the to
value.Parser
.Reduction
with the specified root.Invoker
to call the method if it fails.UnsupportedOperationException
for an empty range.UnsupportedOperationException
for an empty range.Reduction
.UnsupportedOperationException
for an empty range.GroovyScriptEngine
.null
or a compiled pattern matcher read from "resource.name.regex
"
and used in AbstractHttpServlet.getScriptUri(HttpServletRequest)
.ResultSetMetaData
.UnsupportedOperationException
for an empty range.ReverseListIterator
for the provided list.Binding
instance.UnsupportedOperationException
for an empty range.RetentionPolicy.CLASS
.ProxyGenerator
to dump generated Groovy
source code to standard output during construction.Charset
used in case the buffer represents
an 8-bit Charset
.Object
value.RetentionPolicy.SOURCE
.ExpandoMetaClass
, you could do something like:
myFile.metaClass.setText = { String s -> delegate.setText(s, 'UTF-8') }
myfile.text = 'some text'
size()
method for Iterator
.size()
method for String
.size()
method for StringBuffer
.size()
method for File
.size()
method for Matcher
.size()
method for an array.size()
method for Container
.size()
method for ButtonGroup
.size()
method for ListModel
.size()
method for JComboBox
.size()
method for TableModel
.size()
method for TableColumnModel
.size()
method for TreePath
.size()
method for TreeNode
.size()
method for JMenu
.size()
method for JMenuBar
.size()
method for JTabbedPane
.DefaultGroovyMethods.toSpreadMap(java.util.Map)
.debug
or
always
.@
Synchronized annotation.TimeCategory
CSTNode
produced by the Lexer
.SqlGroovyMethods.toRowResult(java.sql.ResultSet)
SpreadMap
from this map.this
.getMessage()
.String
and returns it.closure
for each descendant file in this directory tree.@Vetoable
annotation, and @Bindable
if also present.GroovyASTTransformation
the annotation is added to stageVisitors
at the appropriate processor visitor.get(key)
.Writer
.Writer
.PrintStream
.PrintWriter
.groovy.util.Node
(as used with XmlParser
) including all children in XML format.
|
Copyright © 2003-2010 The Codehaus. All rights reserved. | ||||||||
PREV NEXT | FRAMES NO FRAMES |