fedora.server.journal.helpers
Class JournalTempFile

java.lang.Object
  extended by java.io.File
      extended by fedora.server.journal.helpers.JournalTempFile
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<java.io.File>

public class JournalTempFile
extends java.io.File

Subclass of File is used as a marker. An instance of this class behaves exactly as a java.io.File object would behave. However, it can be tested with instanceof to reveal that it is in fact a temp file, and as such can safely be deleted after use.

Version:
$Id: JournalTempFile.java 5408 2006-12-12 11:46:18 +0000 (Tue, 12 Dec 2006) eddie $
Author:
jblake@cs.cornell.edu
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.io.File
pathSeparator, pathSeparatorChar, separator, separatorChar
 
Constructor Summary
JournalTempFile(java.io.File file)
           
 
Method Summary
 
Methods inherited from class java.io.File
canExecute, canRead, canWrite, compareTo, createNewFile, createTempFile, createTempFile, delete, deleteOnExit, equals, exists, getAbsoluteFile, getAbsolutePath, getCanonicalFile, getCanonicalPath, getFreeSpace, getName, getParent, getParentFile, getPath, getTotalSpace, getUsableSpace, hashCode, isAbsolute, isDirectory, isFile, isHidden, lastModified, length, list, list, listFiles, listFiles, listFiles, listRoots, mkdir, mkdirs, renameTo, setExecutable, setExecutable, setLastModified, setReadable, setReadable, setReadOnly, setWritable, setWritable, toString, toURI, toURL
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JournalTempFile

public JournalTempFile(java.io.File file)