public class MappedWriter extends Writer
| Constructor and Description |
|---|
MappedWriter(OutputStream out,
Encoding encoding)
Create a MappedWriter
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
flush() |
Encoding |
getEncoding()
The encoding used by this writer.
|
void |
write(char[] cbuf,
int off,
int len) |
public MappedWriter(OutputStream out, Encoding encoding)
out - The underlying output byte stream.encoding - The encoding to use.public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class WriterIOExceptionWriter.close()public void flush()
throws IOException
flush in interface Flushableflush in class WriterIOExceptionpublic Encoding getEncoding()
public void write(char[] cbuf,
int off,
int len)
throws IOException
write in class WriterIOExceptionCopyright © 2013 intarsys consulting GmbH. All Rights Reserved.