public class LatchedWriter extends Writer
Constructor and Description |
---|
LatchedWriter(Writer writer) |
Modifier and Type | Method and Description |
---|---|
void |
await() |
void |
close() |
void |
done() |
void |
failed(Throwable e) |
void |
flush() |
void |
write(char[] cbuf,
int off,
int len) |
public LatchedWriter(Writer writer)
public void done() throws IOException
IOException
public void failed(Throwable e)
public void write(char[] cbuf, int off, int len) throws IOException
write
in class Writer
IOException
public void flush() throws IOException
flush
in interface Flushable
flush
in class Writer
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class Writer
IOException
public void await()
Copyright © 2018. All rights reserved.