O'Reilly logo

Groovy: Grundlagen und fortgeschrittene Techniken by Joachim Baumann

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

545A.1 GDK-Methoden (496 Methoden)
OutputStream (6 Methoden)
OutputStream leftShift(InputStream in)
Writer leftShift(Object value)
OutputStream leftShift(byte[] value)
void withStream(Closure closure)
void withWriter(Closure closure)
void withWriter(String charset, Closure closure)
Pattern (1 Methode)
boolean isCase(Object switchValue)
Process (8 Methoden)
void consumeProcessOutput()
InputStream getErr()
InputStream getIn()
OutputStream getOut()
String getText()
Writer leftShift(Object value)
OutputStream leftShift(byte[] value)
void waitForOrKill(long numberOfMillis)
Reader (11 Methoden)
void eachLine(Closure closure)
Writable filterLine(Closure closure)
void filterLine(Writer writer, Closure closure)
String getText()
Iterator iterator()
String readLine()
List readLines()
void splitEachLine(String sep, Closure closure)
void transformChar(Writer writer, Closure closure)
void transformLine(Writer writer, Closure closure)
void withReader(Closure closure)
ServerSocket (1 Methode)
Socket accept(Closure closure)
A Das GDK – Groovy Development Kit546
Set (5 Methoden)
Set asImmutable()
Set asSynchronized()
Set flatten()
Set minus(Collection operands)
Set minus(Object operand)
Socket (4 Methoden)
Writer leftShift(Object value)
OutputStream leftShift(byte[] value)
void withObjectStreams(Closure closure)
void withStreams(Closure closure)
SortedMap (2 Methoden)
SortedMap asImmutable()
SortedMap asSynchronized()
SortedSet (3 Methoden)
SortedSet asImmutable()
SortedSet asSynchronized()
SortedSet sort()
String (51 Methoden)
Object asType(Class c)
Pattern bitwiseNegate()
String center(Number numberOfChars)
String center(Number numberOfChars, String padding)
boolean contains(String text)
int count(String text)
byte[] decodeBase64()
void eachMatch(String regex, Closure closure)
Process execute()
Process execute(List envp, File dir)
Process execute(String[] envp, File dir)
String getAt(Collection indices)
String getAt(EmptyRange range)
String getAt(IntRange range)
String getAt(Range range)
String getAt(int index)
boolean isBigDecimal()
547A.1 GDK-Methoden (496 Methoden)
boolean isBigInteger()
boolean isCase(Object switchValue)
boolean isDouble()
boolean isFloat()
boolean isInteger()
boolean isLong()
boolean isNumber()
StringBuffer leftShift(Object value)
String minus(Object value)
String multiply(Number factor)
String next()
String padLeft(Number numberOfChars)
String padLeft(Number numberOfChars, String padding)
String padRight(Number numberOfChars)
String padRight(Number numberOfChars, String padding)
String plus(Object value)
String previous()
String replaceAll(String regex, Closure closure)
String reverse()
int size()
String[] split()
BigDecimal toBigDecimal()
BigInteger toBigInteger()
Boolean toBoolean()
Character toCharacter()
Double toDouble()
Float toFloat()
Integer toInteger()
List toList()
Long toLong()
URI toURI()
URL toURL()
List tokenize()
List tokenize(String token)
StringBuffer (5 Methoden)
StringBuffer leftShift(Object value)
String plus(String value)
void putAt(EmptyRange range, Object value)
void putAt(IntRange range, Object value)
int size()
A Das GDK – Groovy Development Kit548
String[] (1 Methode)
Process execute()
Timer (1 Methode)
TimerTask runAfter(int delay, Closure closure)
URL (5 Methoden)
void eachByte(Closure closure)
void eachLine(Closure closure)
String getText()
String getText(String charset)
void withReader(Closure closure)
Writer (3 Methoden)
Writer leftShift(Object value)
void withWriter(Closure closure)
void write(Writable writable)
A.1.2 Primitive Datentypen
boolean[] (7 Methoden)
Object getAt(Collection indices)
Object getAt(IntRange range)
Object getAt(ObjectRange range)
Object getAt(Range range)
Object getAt(int index)
Boolean putAt(int idx, Boolean newValue)
int size()
byte[] (9 Methoden)
Writable encodeBase64()
Object getAt(Collection indices)
Object getAt(IntRange range)
Object getAt(ObjectRange range)
Object getAt(Range range)
Object getAt(int index)
Byte putAt(int idx, Object newValue)
int size()
List toList()
549A.1 GDK-Methoden (496 Methoden)
char[] (8 Methoden)
Object getAt(Collection indices)
Object getAt(IntRange range)
Object getAt(ObjectRange range)
Object getAt(Range range)
Object getAt(int index)
Character putAt(int idx, Object newValue)
int size()
List toList()
double (2 Methoden)
void downto(Number to, Closure closure)
void upto(Number to, Closure closure)
double[] (8 Methoden)
Object getAt(Collection indices)
Object getAt(IntRange range)
Object getAt(ObjectRange range)
Object getAt(Range range)
Object getAt(int index)
Double putAt(int idx, Object newValue)
int size()
List toList()
float (2 Methoden)
void downto(Number to, Closure closure)
void upto(Number to, Closure closure)
float[] (8 Methoden)
Object getAt(Collection indices)
Object getAt(IntRange range)
Object getAt(ObjectRange range)
Object getAt(Range range)
Object getAt(int index)
Float putAt(int idx, Object newValue)
int size()
List toList()

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required