com.sun.xfile
Class XFileWriter

java.lang.Object
  extended by java.io.Writer
      extended by java.io.OutputStreamWriter
          extended by 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

Field Summary
 
Fields inherited from class java.io.Writer
lock
 
Constructor Summary
XFileWriter(java.lang.String fileName)
           
XFileWriter(java.lang.String fileName, boolean append)
           
XFileWriter(XFile file)
           
 
Method Summary
 
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
 

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