public class DumpWriter extends Writer
Constructor and Description |
---|
DumpWriter(Writer writer)
Construct dump writer
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Close the writer
|
void |
flush()
Flush the writer
|
void |
write(char[] cBuf,
int off,
int len)
Write a portion of an array of characters.
|
public DumpWriter(Writer writer)
writer
- base writerpublic void write(char[] cBuf, int off, int len) throws IOException
write
in class Writer
cBuf
- Array of charactersoff
- Offset from which to start writing characterslen
- Number of characters to writeIOException
- If an I/O error occurspublic void flush() throws IOException
flush
in interface Flushable
flush
in class Writer
IOException,
- if an I/O error occursIOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class Writer
IOException,
- if an I/O error occursIOException
Copyright © 2019 WSO2 Inc. All Rights Reserved.