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 void
close()
Deprecated.void
flush()
Deprecated.void
write(char[] text, int offset, int length)
Deprecated.void
write(int c)
Deprecated.void
write(Reader reader)
Deprecated.void
write(String s)
Deprecated.void
write(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 IOException
Deprecated.- Specified by:
write
in classWriter
- Throws:
IOException
-
write
public void write(Reader reader) throws IOException
Deprecated.- Throws:
IOException
-
write
public void write(String s) throws IOException
Deprecated.- Overrides:
write
in classWriter
- Throws:
IOException
-
write
public void write(String s, int offset, int length) throws IOException
Deprecated.- Overrides:
write
in classWriter
- Throws:
IOException
-
write
public void write(int c) throws IOException
Deprecated.- Overrides:
write
in classWriter
- Throws:
IOException
-
flush
public void flush() throws IOException
Deprecated.- Specified by:
flush
in interfaceFlushable
- Specified by:
flush
in classWriter
- Throws:
IOException
-
close
public void close() throws IOException
Deprecated.- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in classWriter
- Throws:
IOException
-
-