Package org.exoplatform.groovyscript
Class WriterGroovyPrinter
java.lang.Object
groovy.lang.GroovyObjectSupport
org.exoplatform.groovyscript.WriterGroovyPrinter
- All Implemented Interfaces:
groovy.lang.GroovyInterceptable,groovy.lang.GroovyObject
public class WriterGroovyPrinter
extends groovy.lang.GroovyObjectSupport
- Version:
- $Revision$
- Author:
- Julien Viet
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidflush()protected WriterinvokeMethod(String name, Object args) Optimize the call to the various print methods.final voidfinal voidprintln()final voidvoidprotected voidwrite(char c) protected voidprotected voidwrite(org.exoplatform.commons.utils.Text text) Methods inherited from class groovy.lang.GroovyObjectSupport
getMetaClass, getProperty, setMetaClass, setPropertyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface groovy.lang.GroovyObject
getMetaClass, getProperty, setMetaClass, setProperty
-
Constructor Details
-
WriterGroovyPrinter
-
-
Method Details
-
getWriter
-
write
- Throws:
IOException
-
write
- Throws:
IOException
-
write
- Throws:
IOException
-
flush
- Throws:
IOException
-
close
- Throws:
IOException
-
getLocale
-
setLocale
-
invokeMethod
Optimize the call to the various print methods.- Specified by:
invokeMethodin interfacegroovy.lang.GroovyObject- Overrides:
invokeMethodin classgroovy.lang.GroovyObjectSupport- Parameters:
name- the method nameargs- the method arguments- Returns:
- the return value
-
println
-
println
public final void println() -
print
-