public class Streams extends Object
Stream
interface that uses an appendable delegate.Constructor and Description |
---|
Streams() |
Modifier and Type | Method and Description |
---|---|
static Stream |
appendable(Charset charset,
Appendable appendable) |
static <A extends OutputStream & Flushable & Closeable> |
closeable(Charset charset,
A appendable) |
static <A extends Appendable & Flushable & Closeable> |
closeable(Charset charset,
A appendable) |
static Stream |
empty() |
static <A extends Appendable & Flushable> |
flushable(Charset charset,
A appendable) |
static Streamable |
streamable(Readable readable) |
public static Stream empty()
public static Streamable streamable(Readable readable)
public static Stream appendable(Charset charset, Appendable appendable)
public static <A extends Appendable & Flushable> Stream flushable(Charset charset, A appendable)
public static <A extends Appendable & Flushable & Closeable> Stream closeable(Charset charset, A appendable)
public static <A extends OutputStream & Flushable & Closeable> Stream closeable(Charset charset, A appendable)
Copyright © 2013 eXo Platform SAS. All Rights Reserved.