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:
- $Id: FileWriter.java,v 1.3 2010/08/16 10:55:43 christian_schlichtherle Exp $
- 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)
Copyright © 2005-2010 Schlichtherle IT Services. All Rights Reserved.