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
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
Fields inherited from class java.io.Writer |
lock |
Methods inherited from class java.io.OutputStreamWriter |
close, flush, getEncoding, write, write, write |
Methods inherited from class java.io.Writer |
append, append, append, write, write |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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