org.openjena.atlas.io
Class Writer2

java.lang.Object
  extended by org.openjena.atlas.io.Writer2
All Implemented Interfaces:
Closeable

public final class Writer2
extends Object
implements Closeable

A Writer, without the checked exceptions.


Constructor Summary
Writer2(Writer writer)
           
 
Method Summary
 void close()
           
 void flush()
           
 void output(char[] cbuf)
           
 void output(char[] cbuf, int off, int len)
           
 void output(int ch)
           
 void output(String string)
           
 void output(String string, int off, int len)
           
static Writer2 wrap(Writer writer)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Writer2

public Writer2(Writer writer)
Method Detail

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