public class IOWriterWrapper extends Object implements WrappedWriter
WrappedWriter
interface based on Writer
.Constructor and Description |
---|
IOWriterWrapper(Writer writer) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
write(String key,
String value)
Writes a new key and value, separating them with one space.
|
public IOWriterWrapper(Writer writer)
public void write(String key, String value) throws IOException
write
in interface WrappedWriter
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
Copyright © 2008–2017 The Apache Software Foundation. All rights reserved.