org.fcrepo.server.journal.helpers
Class JournalTempFile

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

public class JournalTempFile
extends 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.

Author:
Jim Blake
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.io.File
pathSeparator, pathSeparatorChar, separator, separatorChar
 
Constructor Summary
JournalTempFile(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(File file)


Copyright © 2011 DuraSpace. All Rights Reserved.