|
TrueUpdate Core 0.1.7 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.java.trueupdate.core.io.Sinks
@Immutable public class Sinks
Provides functions for Sinks.
| Nested Class Summary | |
|---|---|
static interface |
Sinks.BindStatement<V,X extends Exception>
|
static interface |
Sinks.ExecuteStatement<V,X extends Exception>
|
| Method Summary | ||
|---|---|---|
static
|
bind(OutputTask<V,X> task)
|
|
static Sink |
error()
Returns a sink which writes to standard error without ever closing it. |
|
static
|
execute(OutputTask<V,X> task)
|
|
static Sink |
output()
Returns a sink which writes to standard output without ever closing it. |
|
static Sink |
uncloseable(OutputStream out)
Returns a sink which writes to the given output stream and just flushes the output stream instead of closing it. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static <V,X extends Exception> Sinks.BindStatement<V,X> bind(OutputTask<V,X> task)
public static Sink error()
public static <V,X extends Exception> Sinks.ExecuteStatement<V,X> execute(OutputTask<V,X> task)
public static Sink output()
public static Sink uncloseable(OutputStream out)
out - the output stream to use.
|
TrueUpdate Core 0.1.7 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||