de.schlichtherle.io
Class FileWriter
java.lang.Object
java.io.Writer
java.io.OutputStreamWriter
de.schlichtherle.io.FileWriter
- All Implemented Interfaces:
- Closeable, Flushable, Appendable
public class FileWriter
- extends OutputStreamWriter
A drop-in replacement for FileWriter
which provides
transparent write access to archive entries as if they were (virtual) files.
All file system operations in this class are
virtually atomic.
- Since:
- TrueZIP 6.4
- Version:
- TrueZIP 6.7
- Author:
- Christian Schlichtherle
- See Also:
- Using Archive Entry Streams,
FileBusyException
,
File.cat(java.io.InputStream, java.io.OutputStream)
,
File.umount()
,
File.update()
,
File.setLenient(boolean)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileWriter
public FileWriter(String path)
throws IOException
- Throws:
IOException
FileWriter
public FileWriter(String path,
boolean append)
throws IOException
- Throws:
IOException
FileWriter
public FileWriter(File file)
throws IOException
- Throws:
IOException
FileWriter
public FileWriter(File file,
boolean append)
throws IOException
- Throws:
IOException
FileWriter
public FileWriter(FileDescriptor fd)