Package java.io
Class Writer
- java.lang.Object
-
- java.io.Writer
-
- Direct Known Subclasses:
BufferedWriter,CharArrayWriter,FilterWriter,OutputStreamWriter,PipedWriter,PrintWriter,StringWriter
public abstract class Writer extends Object
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract voidclose()abstract voidflush()voidwrite(char[] var0)abstract voidwrite(char[] var0, int var1, int var2)voidwrite(int var0)voidwrite(String var0)voidwrite(String var0, int var1, int var2)
-
-
-
Field Detail
-
lock
protected Object lock
-
-
Constructor Detail
-
Writer
protected Writer()
-
Writer
protected Writer(Object var0)
-
-
Method Detail
-
close
public abstract void close() throws IOException- Throws:
IOException
-
flush
public abstract void flush() throws IOException- Throws:
IOException
-
write
public void write(char[] var0) throws IOException- Throws:
IOException
-
write
public abstract void write(char[] var0, int var1, int var2) throws IOException- Throws:
IOException
-
write
public void write(int var0) throws IOException- Throws:
IOException
-
write
public void write(String var0) throws IOException
- Throws:
IOException
-
write
public void write(String var0, int var1, int var2) throws IOException
- Throws:
IOException
-
-