org.openjena.atlas.io
Class Writer2
java.lang.Object
org.openjena.atlas.io.Writer2
- All Implemented Interfaces:
- Closeable
public final class Writer2
- extends Object
- implements Closeable
A Writer, without the checked exceptions.
Writer2
public Writer2(Writer writer)
wrap
public static Writer2 wrap(Writer writer)
output
public void output(int ch)
output
public void output(String string)
output
public void output(String string,
int off,
int len)
throws IOException
- Throws:
IOException
output
public void output(char[] cbuf)
throws IOException
- Throws:
IOException
output
public void output(char[] cbuf,
int off,
int len)
throws IOException
- Throws:
IOException
flush
public void flush()
close
public void close()
- Specified by:
close
in interface Closeable
Licenced under the Apache License, Version 2.0