public interface Writer
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
static Writer |
createDefault(OutputStream out) |
void |
flush() |
default void |
write(byte[] bytes) |
default void |
write(byte[] buffer,
int offset,
int length) |
void |
write(ByteBuffer bb) |
void |
write(int b) |
void write(ByteBuffer bb) throws IOException
IOExceptionvoid write(int b)
throws IOException
IOExceptionvoid flush()
throws IOException
IOExceptionvoid close()
throws IOException
IOExceptiondefault void write(byte[] buffer,
int offset,
int length)
throws IOException
IOExceptiondefault void write(byte[] bytes)
throws IOException
IOExceptionstatic Writer createDefault(OutputStream out)
Copyright © 2018–2019. All rights reserved.