Package ucar.nc2.util
Class UnsynchronizedBufferedWriter
- java.lang.Object
-
- java.io.Writer
-
- ucar.nc2.util.UnsynchronizedBufferedWriter
-
- All Implemented Interfaces:
Closeable,Flushable,Appendable,AutoCloseable
@Deprecated public class UnsynchronizedBufferedWriter extends Writer
Deprecated.do not use TODO move to inner class of IO if needed.An unsynchronized version of a BufferedWriter, for performance.- Since:
- Nov 4, 2007
-
-
Constructor Summary
Constructors Constructor Description UnsynchronizedBufferedWriter(Writer out)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidclose()Deprecated.voidflush()Deprecated.voidwrite(char[] text, int offset, int length)Deprecated.voidwrite(int c)Deprecated.voidwrite(Reader reader)Deprecated.voidwrite(String s)Deprecated.voidwrite(String s, int offset, int length)Deprecated.
-
-
-
Constructor Detail
-
UnsynchronizedBufferedWriter
public UnsynchronizedBufferedWriter(Writer out)
Deprecated.
-
-
Method Detail
-
write
public void write(char[] text, int offset, int length) throws IOExceptionDeprecated.- Specified by:
writein classWriter- Throws:
IOException
-
write
public void write(Reader reader) throws IOException
Deprecated.- Throws:
IOException
-
write
public void write(String s) throws IOException
Deprecated.- Overrides:
writein classWriter- Throws:
IOException
-
write
public void write(String s, int offset, int length) throws IOException
Deprecated.- Overrides:
writein classWriter- Throws:
IOException
-
write
public void write(int c) throws IOExceptionDeprecated.- Overrides:
writein classWriter- Throws:
IOException
-
flush
public void flush() throws IOExceptionDeprecated.- Specified by:
flushin interfaceFlushable- Specified by:
flushin classWriter- Throws:
IOException
-
close
public void close() throws IOExceptionDeprecated.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein classWriter- Throws:
IOException
-
-