ucar.nc2.util
Class UnsynchronizedBufferedWriter
java.lang.Object
java.io.Writer
ucar.nc2.util.UnsynchronizedBufferedWriter
- All Implemented Interfaces:
- Closeable, Flushable, Appendable
public class UnsynchronizedBufferedWriter
- extends Writer
An unsynchronized version of a BufferedWriter, for performance.
- Since:
- Nov 4, 2007
- Author:
- com.elharo.io
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UnsynchronizedBufferedWriter
public UnsynchronizedBufferedWriter(Writer out)
write
public void write(char[] text,
int offset,
int length)
throws IOException
- Specified by:
write
in class Writer
- Throws:
IOException
write
public void write(Reader reader)
throws IOException
- Throws:
IOException
write
public void write(String s)
throws IOException
- Overrides:
write
in class Writer
- Throws:
IOException
write
public void write(String s,
int offset,
int length)
throws IOException
- Overrides:
write
in class Writer
- Throws:
IOException
write
public void write(int c)
throws IOException
- Overrides:
write
in class Writer
- Throws:
IOException
flush
public void flush()
throws IOException
- Specified by:
flush
in interface Flushable
- Specified by:
flush
in class Writer
- Throws:
IOException
close
public void close()
throws IOException
- Specified by:
close
in interface Closeable
- Specified by:
close
in class Writer
- Throws:
IOException
Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.