Package com.sun.xfile
Class XFileWriter
- java.lang.Object
-
- java.io.Writer
-
- java.io.OutputStreamWriter
-
- com.sun.xfile.XFileWriter
-
- All Implemented Interfaces:
java.io.Closeable
,java.io.Flushable
,java.lang.Appendable
,java.lang.AutoCloseable
public class XFileWriter extends java.io.OutputStreamWriter
Convenience class for writing character files. The constructors of this class assume that the default character encoding and the default byte-buffer size are acceptable. To specify these values yourself, construct an OutputStreamWriter on a FileOutputStream.- See Also:
OutputStreamWriter
,XFileOutputStream
-
-
Constructor Summary
Constructors Constructor Description XFileWriter(XFile file)
XFileWriter(java.lang.String fileName)
XFileWriter(java.lang.String fileName, boolean append)
-
-
-
Constructor Detail
-
XFileWriter
public XFileWriter(java.lang.String fileName) throws java.io.IOException
- Throws:
java.io.IOException
-
XFileWriter
public XFileWriter(java.lang.String fileName, boolean append) throws java.io.IOException
- Throws:
java.io.IOException
-
XFileWriter
public XFileWriter(XFile file) throws java.io.IOException
- Throws:
java.io.IOException
-
-