org.wso2.carbon.registry.core.jdbc.utils
Class DumpWriter
java.lang.Object
java.io.Writer
org.wso2.carbon.registry.core.jdbc.utils.DumpWriter
- All Implemented Interfaces:
- Closeable, Flushable, Appendable
public class DumpWriter
- extends Writer
A wrapper for writer that dumps skipping resource name="foo"
Method Summary |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DumpWriter
public DumpWriter(Writer writer)
- Construct dump writer
- Parameters:
writer
- base writer
write
public void write(char[] cBuf,
int off,
int len)
throws IOException
- Write a portion of an array of characters.
- Specified by:
write
in class Writer
- Parameters:
cBuf
- Array of charactersoff
- Offset from which to start writing characterslen
- Number of characters to write
- Throws:
IOException
- If an I/O error occurs
flush
public void flush()
throws IOException
- Flush the writer
- Specified by:
flush
in interface Flushable
- Specified by:
flush
in class Writer
- Throws:
IOException,
- if an I/O error occurs
IOException
close
public void close()
throws IOException
- Close the writer
- Specified by:
close
in interface Closeable
- Specified by:
close
in class Writer
- Throws:
IOException,
- if an I/O error occurs
IOException
Copyright © 2013 WSO2 Inc. All Rights Reserved.