Skip navigation links
A B C E F G L O P R S T U W 

A

allocateSpace() - Method in class com.wooga.gradle.io.StreamByteBuffer
 

B

BufferCaster - Class in com.wooga.gradle.io
 
BufferCaster() - Constructor for class com.wooga.gradle.io.BufferCaster
 

C

cast(T) - Static method in class com.wooga.gradle.io.BufferCaster
Without this cast, when the code compiled by Java 9+ is executed on Java 8, it will throw java.lang.NoSuchMethodError: Method flip()Ljava/nio/ByteBuffer; does not exist in class java.nio.ByteBuffer
clear() - Method in class com.wooga.gradle.io.StreamByteBuffer
 
close() - Method in class com.wooga.gradle.io.LineBufferingOutputStream
Closes this output stream and releases any system resources associated with this stream.
com.wooga.gradle.io - package com.wooga.gradle.io
 
createWithChunkSizeInDefaultRange(int) - Static method in class com.wooga.gradle.io.StreamByteBuffer
 

E

endOfStream(Throwable) - Method in interface com.wooga.gradle.io.TextStream
Called when the end of the stream is reached for some reason.

F

flush() - Method in class com.wooga.gradle.io.LineBufferingOutputStream
 

G

getInputStream() - Method in class com.wooga.gradle.io.StreamByteBuffer
 
getOutputStream() - Method in class com.wooga.gradle.io.StreamByteBuffer
 

L

LineBufferingOutputStream - Class in com.wooga.gradle.io
An OutputStream which separates bytes written into lines of text.
LineBufferingOutputStream(TextStream, String) - Constructor for class com.wooga.gradle.io.LineBufferingOutputStream
 
LineBufferingOutputStream(TextStream, String, int) - Constructor for class com.wooga.gradle.io.LineBufferingOutputStream
 
LineBufferingOutputStream(TextStream, String, int, int) - Constructor for class com.wooga.gradle.io.LineBufferingOutputStream
 

O

of(InputStream) - Static method in class com.wooga.gradle.io.StreamByteBuffer
 
of(InputStream, int) - Static method in class com.wooga.gradle.io.StreamByteBuffer
 
of(List<byte[]>) - Static method in class com.wooga.gradle.io.StreamByteBuffer
 

P

prepareRead() - Method in class com.wooga.gradle.io.StreamByteBuffer
 

R

readAsByteArray() - Method in class com.wooga.gradle.io.StreamByteBuffer
 
readAsListOfByteArrays() - Method in class com.wooga.gradle.io.StreamByteBuffer
 
readAsString(String) - Method in class com.wooga.gradle.io.StreamByteBuffer
 
readAsString() - Method in class com.wooga.gradle.io.StreamByteBuffer
 
readAsString(Charset) - Method in class com.wooga.gradle.io.StreamByteBuffer
 
readFrom(InputStream, int) - Method in class com.wooga.gradle.io.StreamByteBuffer
 
readFully(InputStream) - Method in class com.wooga.gradle.io.StreamByteBuffer
 

S

StreamByteBuffer - Class in com.wooga.gradle.io
An in-memory buffer that provides OutputStream and InputStream interfaces.
StreamByteBuffer() - Constructor for class com.wooga.gradle.io.StreamByteBuffer
 
StreamByteBuffer(int) - Constructor for class com.wooga.gradle.io.StreamByteBuffer
 

T

text(String) - Method in interface com.wooga.gradle.io.TextStream
Called when some chunk of text is available.
TextStream - Interface in com.wooga.gradle.io
 
throwAsUncheckedException(Throwable) - Static method in exception com.wooga.gradle.io.UncheckedException
Note: always throws the failure in some form.
throwAsUncheckedException(Throwable, boolean) - Static method in exception com.wooga.gradle.io.UncheckedException
Note: always throws the failure in some form.
totalBytesUnread() - Method in class com.wooga.gradle.io.StreamByteBuffer
 

U

unchecked(Callable<T>) - Static method in exception com.wooga.gradle.io.UncheckedException
 
UncheckedException - Exception in com.wooga.gradle.io
Wraps a checked exception.
UncheckedIOException - Exception in com.wooga.gradle.io
UncheckedIOException is used to wrap an IOException into an unchecked exception.
UncheckedIOException() - Constructor for exception com.wooga.gradle.io.UncheckedIOException
 
UncheckedIOException(String) - Constructor for exception com.wooga.gradle.io.UncheckedIOException
 
UncheckedIOException(String, Throwable) - Constructor for exception com.wooga.gradle.io.UncheckedIOException
 
UncheckedIOException(Throwable) - Constructor for exception com.wooga.gradle.io.UncheckedIOException
 
unwrapAndRethrow(InvocationTargetException) - Static method in exception com.wooga.gradle.io.UncheckedException
Unwraps passed InvocationTargetException hence making the stack of exceptions cleaner without losing information.

W

write(int) - Method in class com.wooga.gradle.io.LineBufferingOutputStream
Writes the specified byte to this output stream.
writeTo(OutputStream) - Method in class com.wooga.gradle.io.StreamByteBuffer
 
A B C E F G L O P R S T U W 
Skip navigation links