Overview | Package | Class | Deprecated | Index | Help
| Groovy 1.7.6
PREV NEXT | FRAMES NO FRAMES

# Deprecated API

Interfaces
`ComponentFacade` A facade to an object which contains a component.
`ContainerFacade` A facade to an object to which components can be added.
`Startable` A simple lifecycle method called when an object is fully constructed.

Classes
`TimeCategory` This class has been moved to a public (i.e. non org.codehaus.* package).

Methods
`DOMUtil#serialize(org.w3c.dom.Element element)` Return a pretty version of the Element.
`DOMUtil#serialize(org.w3c.dom.Element element, OutputStream os)` Write a pretty version of the Element to the OutputStream.
`DefaultGroovyMethods#asBoolean(GroovyResultSet grs)` @deprecated use SqlGroovyMethods#asBoolean(GroovyResultSet)
`DefaultGroovyMethods#clearTime(Date self)` @deprecated moved to DateGroovyMethods.clearTime
`DefaultGroovyMethods#clearTime(def self)` @deprecated moved to DateGroovyMethods.clearTime
`DefaultGroovyMethods#clearTime(Calendar self)` @deprecated moved to DateGroovyMethods.clearTime
`DefaultGroovyMethods#consumeProcessErrorStream(Process self, OutputStream err)` @deprecated use ProcessGroovyMethods#consumeProcessErrorStream(Process, OutputStream)
`DefaultGroovyMethods#consumeProcessErrorStream(Process self, StringBuffer error)` @deprecated use ProcessGroovyMethods#consumeProcessErrorStream(Process, Appendable)
`DefaultGroovyMethods#consumeProcessErrorStream(Process self, Writer err)` @deprecated use ProcessGroovyMethods#consumeProcessErrorStream(Process, Appendable)
`DefaultGroovyMethods#consumeProcessOutput(Process self)` @deprecated use ProcessGroovyMethods#consumeProcessOutput(Process)
`DefaultGroovyMethods#consumeProcessOutput(Process self, StringBuffer output, StringBuffer error)` @deprecated use ProcessGroovyMethods#consumeProcessOutput(Process, Appendable, Appendable)
`DefaultGroovyMethods#consumeProcessOutput(Process self, OutputStream output, OutputStream error)` @deprecated use ProcessGroovyMethods#consumeProcessOutput(Process, OutputStream, OutputStream)
`DefaultGroovyMethods#consumeProcessOutputStream(Process self, StringBuffer output)` @deprecated use ProcessGroovyMethods#consumeProcessOutputStream(Process, Appendable)
`DefaultGroovyMethods#consumeProcessOutputStream(Process self, Writer output)` @deprecated use ProcessGroovyMethods#consumeProcessOutputStream(Process, Appendable)
`DefaultGroovyMethods#consumeProcessOutputStream(Process self, OutputStream output)` @deprecated use ProcessGroovyMethods#consumeProcessOutputStream(Process, OutputStream)
`DefaultGroovyMethods#decodeBase64(String value)` @deprecated moved to EncodingGroovyMethods.decodeBase64
`DefaultGroovyMethods#encodeBase64(Byte[] data, boolean chunked)` @deprecated moved to EncodingGroovyMethods.encodeBase64
`DefaultGroovyMethods#encodeBase64(Byte[] data)` @deprecated moved to EncodingGroovyMethods.encodeBase64
`DefaultGroovyMethods#encodeBase64(byte[] data, boolean chunked)` @deprecated moved to EncodingGroovyMethods.encodeBase64
`DefaultGroovyMethods#encodeBase64(byte[] data)` @deprecated moved to EncodingGroovyMethods.encodeBase64
`DefaultGroovyMethods#format(Date self, String format)` @deprecated moved to DateGroovyMethods.format
`DefaultGroovyMethods#format(Calendar self, String pattern)` @deprecated moved to DateGroovyMethods.format
`DefaultGroovyMethods#getAt(Date self, int field)` @deprecated moved to DateGroovyMethods.getAt
`DefaultGroovyMethods#getDateString(Date self)` @deprecated moved to DateGroovyMethods.getDateString
`DefaultGroovyMethods#getDateTimeString(Date self)` @deprecated moved to DateGroovyMethods.getDateTimeString
`DefaultGroovyMethods#getErr(Process self)` @deprecated use ProcessGroovyMethods#getErr(Process)
`DefaultGroovyMethods#getIn(Process self)` @deprecated use ProcessGroovyMethods#getIn(Process)
`DefaultGroovyMethods#getOut(Process self)` @deprecated use ProcessGroovyMethods#getOut(Process)
`DefaultGroovyMethods#getText(Process self)` @deprecated use ProcessGroovyMethods#getText(Process)
`DefaultGroovyMethods#getTimeString(Date self)` @deprecated moved to DateGroovyMethods.getTimeString
`DefaultGroovyMethods#iterator(File self)` Just throws a DeprecationException.
`DefaultGroovyMethods#iterator(def nodeList)` @deprecated moved to XmlGroovyMethods.iterator
`DefaultGroovyMethods#leftShift(Process self, Object value)` @deprecated use ProcessGroovyMethods#leftShift(Process, Object)
`DefaultGroovyMethods#leftShift(Process self, byte[] value)` @deprecated use ProcessGroovyMethods#leftShift(Process, byte[])
`DefaultGroovyMethods#minus(Date self, int days)` @deprecated moved to DateGroovyMethods.minus
`DefaultGroovyMethods#minus(def self, int days)` @deprecated moved to DateGroovyMethods.minus
`DefaultGroovyMethods#minus(Calendar self, Calendar then)` @deprecated moved to DateGroovyMethods.minus
`DefaultGroovyMethods#minus(Date self, Date then)` @deprecated moved to DateGroovyMethods.minus
`DefaultGroovyMethods#next(Date self)` @deprecated moved to DateGroovyMethods.next
`DefaultGroovyMethods#next(def self)` @deprecated moved to DateGroovyMethods.next
`DefaultGroovyMethods#or(Process left, Process right)` @deprecated use ProcessGroovyMethods#or(Process, Process)
`DefaultGroovyMethods#pipeTo(Process left, Process right)` @deprecated use ProcessGroovyMethods#pipeTo(Process, Process)
`DefaultGroovyMethods#plus(Date self, int days)` @deprecated moved to DateGroovyMethods.plus
`DefaultGroovyMethods#plus(def self, int days)` @deprecated moved to DateGroovyMethods.plus
`DefaultGroovyMethods#previous(Date self)` @deprecated moved to DateGroovyMethods.previous
`DefaultGroovyMethods#previous(def self)` @deprecated moved to DateGroovyMethods.previous
`DefaultGroovyMethods#toRowResult(def rs)` @deprecated moved to SqlGroovyMethods.toRowResult
`DefaultGroovyMethods#waitForOrKill(Process self, long numberOfMillis)` @deprecated use ProcessGroovyMethods#waitForOrKill(Process, long)
`DefaultGroovyMethods#waitForProcessOutput(Process self)` @deprecated use ProcessGroovyMethods#waitForProcessOutput(Process)
`DefaultGroovyMethods#waitForProcessOutput(Process self, StringBuffer output, StringBuffer error)` @deprecated use #waitForProcessOutput(Process, Appendable, Appendable)
`DefaultGroovyMethods#waitForProcessOutput(Process self, OutputStream output, OutputStream error)` @deprecated use ProcessGroovyMethods#waitForProcessOutput(Process, OutputStream, OutputStream)
`DefaultGroovyMethods#withOutputStream(Process self, Closure closure)` @deprecated use ProcessGroovyMethods#withOutputStream(Process, Closure)
`DefaultGroovyMethods#withWriter(Process self, Closure closure)` @deprecated use ProcessGroovyMethods#withWriter(Process, Closure)
`GroovyClassLoader#parseClass(InputStream in)` Parses the given character stream into a Java class capable of being run
`GroovyClassLoader#parseClass(InputStream in, String fileName)` @deprecated Prefer using methods taking a Reader rather than an InputStream to avoid wrong encoding issues.
`GroovyCodeSource#getInputStream()` @deprecated Prefer using methods taking a Reader rather than an InputStream to avoid wrong encoding issues.
`GroovyShell#evaluate(InputStream in)` Evaluates some script against the current Binding and returns the result
`GroovyShell#evaluate(InputStream in, String fileName)` Evaluates some script against the current Binding and returns the result
`GroovyShell#parse(InputStream in, String fileName)` Parses the given script and returns it ready to be run
`GroovyShell#parse(InputStream in)` Parses the given script and returns it ready to be run
`GroovyShell#run(InputStream in, String fileName, String[] args)` Runs the given script with command line arguments
`InvokerHelper#getVersion()` @deprecated Use GroovySystem version instead.
`MetaClassImpl#invokeConstructorAt(Class at, Object[] arguments)` Warning, this method will be removed
`MetaClassImpl#retrieveMethod(String methodName, Class[] arguments)` @deprecated use pickMethod instead
`ModuleNode#addImportPackage(String packageName)` @deprecated replaced by addStarImport(String)
`ModuleNode#addStaticImportClass(String name, ClassNode type)` @deprecated replaced by addStaticStarImport(String, ClassNode)
`ModuleNode#addStaticMethodOrField(ClassNode type, String fieldName, String alias)` @deprecated replaced by addStaticImport(ClassNode, String, String)
`ModuleNode#getImportPackages()` @deprecated replaced by getStarImports()
`ModuleNode#getStaticImportAliases()` @deprecated replaced by getStaticImports()
`ModuleNode#getStaticImportClasses()` @deprecated replaced by getStaticStarImports()
`ModuleNode#getStaticImportFields()` @deprecated replaced by getStaticImports()
`TableLayout#getComponent()` @deprecated Simply returns this

Constructors
`GroovyCodeSource#GroovyCodeSource(InputStream inputStream, String name, String codeBase)` Construct a GroovyCodeSource for an inputStream of groovyCode that has an unknown provenance -- meaning it didn't come from a File or a URL (e.g.

Copyright © 2003-2010 The Codehaus. All rights reserved.