B C F I L M N O R S T W 

B

byteBuffer(File, int) - Static method in class org.qi4j.io.Inputs
Read a file using ByteBuffer of a given size.
byteBuffer(InputStream, int) - Static method in class org.qi4j.io.Inputs
Read an inputstream using ByteBuffer of a given size.
byteBuffer(File) - Static method in class org.qi4j.io.Outputs
Write ByteBuffer data to a file.
byteBuffer(OutputStream) - Static method in class org.qi4j.io.Outputs
Write ByteBuffer data to an OutputStream.
bytes(File, int) - Static method in class org.qi4j.io.Outputs
Write byte array data to a file.

C

collection(Collection<T>) - Static method in class org.qi4j.io.Outputs
Add items to a collection
combine(Iterable<Input<T, SenderThrowableType>>) - Static method in class org.qi4j.io.Inputs
Combine many Input into one single Input.
count() - Method in class org.qi4j.io.Transforms.Counter
 
createTemporayFileOf(File) - Static method in class org.qi4j.io.Files
 

F

Files - Class in org.qi4j.io
Utility class for files.
Files() - Constructor for class org.qi4j.io.Files
 
filter(Specification<? super T>, Output<T, Receiver2ThrowableType>) - Static method in class org.qi4j.io.Transforms
Filter items in a transfer by applying the given Specification to each item.
filteredMap(Specification<? super T>, Function<? super T, ? extends T>, Output<T, Receiver2ThrowableType>) - Static method in class org.qi4j.io.Transforms
Apply the given function to items in the transfer that match the given specification.

I

Input<T,SenderThrowableType extends Throwable> - Interface in org.qi4j.io
Input source of data.
Inputs - Class in org.qi4j.io
Common inputs
iterable(Iterable<T>) - Static method in class org.qi4j.io.Inputs
Create an Input that takes its items from the given Iterable.

L

lock(Lock, Output<T, Receiver2ThrowableType>) - Static method in class org.qi4j.io.Transforms
Wrapper for Outputs that uses a lock whenever a transfer is instantiated.
lock(Lock, Input<T, SenderThrowableType>) - Static method in class org.qi4j.io.Transforms
Wrapper for Outputs that uses a lock whenever a transfer is instantiated.
logProgress() - Method in class org.qi4j.io.Transforms.ProgressLog
 

M

map(ByteBuffer) - Method in class org.qi4j.io.Transforms.ByteBuffer2String
 
map(T) - Method in class org.qi4j.io.Transforms.Counter
 
map(T) - Method in class org.qi4j.io.Transforms.Log
 
map(Function<? super From, ? extends To>, Output<To, Receiver2ThrowableType>) - Static method in class org.qi4j.io.Transforms
Map items in a transfer from one type to another by applying the given function.
map(Object) - Method in class org.qi4j.io.Transforms.ObjectToString
 
map(T) - Method in class org.qi4j.io.Transforms.ProgressLog
 
map(String) - Method in class org.qi4j.io.Transforms.String2Bytes
 

N

noop() - Static method in class org.qi4j.io.Outputs
Do nothing.

O

org.qi4j.io - package org.qi4j.io
I/O API.
output(Visitor<OutputStream, IOException>, int) - Static method in class org.qi4j.io.Inputs
Create an Input that allows a Visitor to write to an OutputStream.
Output<T,ReceiverThrowableType extends Throwable> - Interface in org.qi4j.io
Output for data.
Outputs - Class in org.qi4j.io
Utility methods for creating standard Outputs

R

receive(T) - Method in interface org.qi4j.io.Receiver
Receive a single item of the given type.
receiveFrom(Sender<? extends T, SenderThrowableType>) - Method in interface org.qi4j.io.Output
This initiates a transfer from an Input.
Receiver<T,ReceiverThrowableType extends Throwable> - Interface in org.qi4j.io
Receiver of items during a specific transfer from an Input to an Output.

S

Sender<T,SenderThrowableType extends Throwable> - Interface in org.qi4j.io
Sender of items for a particular transfer from an Input to an Output
sendTo(Receiver<? super T, ReceiverThrowableType>) - Method in interface org.qi4j.io.Sender
The sender should send all items it holds to the receiver by invoking receiveItem for each item.
systemErr() - Static method in class org.qi4j.io.Outputs
Write objects to System.err.println.
systemOut() - Static method in class org.qi4j.io.Outputs
Write objects to System.out.println.

T

text(String) - Static method in class org.qi4j.io.Inputs
Read lines from a String.
text(Reader) - Static method in class org.qi4j.io.Inputs
Read lines from a Reader.
text(File) - Static method in class org.qi4j.io.Inputs
Read lines from a UTF-8 encoded textfile.
text(File, String) - Static method in class org.qi4j.io.Inputs
Read lines from a textfile with the given encoding.
text(URL) - Static method in class org.qi4j.io.Inputs
Read lines from a textfile at a given URL.
text(File) - Static method in class org.qi4j.io.Outputs
Write lines to a text file with UTF-8 encoding.
text(File, String) - Static method in class org.qi4j.io.Outputs
Write lines to a text file.
text(Writer) - Static method in class org.qi4j.io.Outputs
Write lines to a Writer.
text(StringBuilder) - Static method in class org.qi4j.io.Outputs
Write lines to a StringBuilder.
transferTo(Output<? super T, ReceiverThrowableType>) - Method in interface org.qi4j.io.Input
 
Transforms - Class in org.qi4j.io
Utility class for I/O transforms
Transforms() - Constructor for class org.qi4j.io.Transforms
 
Transforms.ByteBuffer2String - Class in org.qi4j.io
Convert ByteBuffers to Strings using the given CharSet
Transforms.ByteBuffer2String(Charset) - Constructor for class org.qi4j.io.Transforms.ByteBuffer2String
 
Transforms.Counter<T> - Class in org.qi4j.io
Count the number of items in the transfer.
Transforms.Counter() - Constructor for class org.qi4j.io.Transforms.Counter
 
Transforms.Log<T> - Class in org.qi4j.io
Log the toString() representation of transferred items to the given log.
Transforms.Log(Logger, String) - Constructor for class org.qi4j.io.Transforms.Log
 
Transforms.ObjectToString - Class in org.qi4j.io
Convert objects to Strings using .toString()
Transforms.ObjectToString() - Constructor for class org.qi4j.io.Transforms.ObjectToString
 
Transforms.ProgressLog<T> - Class in org.qi4j.io
Track progress of transfer by emitting a log message in given intervals.
Transforms.ProgressLog(Logger, String, long) - Constructor for class org.qi4j.io.Transforms.ProgressLog
 
Transforms.ProgressLog(long) - Constructor for class org.qi4j.io.Transforms.ProgressLog
 
Transforms.String2Bytes - Class in org.qi4j.io
Convert strings to bytes using the given CharSet
Transforms.String2Bytes(Charset) - Constructor for class org.qi4j.io.Transforms.String2Bytes
 

W

withReceiver(Receiver<T, ReceiverThrowableType>) - Static method in class org.qi4j.io.Outputs
Use given receiver as Output.
B C F I L M N O R S T W