public class TransportOutputFile extends Object
Title: TransportOutputFile.java
Description: A "renaming" journal file, for use by Transports.
When this file is created, a prefix is put on the filename to show that output is in progress. When the file is closed, it is renamed to remove the prefix.
| Constructor and Description |
|---|
TransportOutputFile(File directory,
String name)
Sture the filename, and the "in process" filename.
|
public TransportOutputFile(File directory, String name) throws IOException
IOException - if either file already exists.public Writer open() throws IOException
IOExceptionpublic void close()
throws IOException
IOExceptionpublic String getName()
Copyright © 2013 DuraSpace. All Rights Reserved.