NASA World Wind WMS

gov.nasa.worldwind.servers.wms.generators
Class TempFile

java.lang.Object
  extended by java.io.File
      extended by gov.nasa.worldwind.servers.wms.generators.TempFile
All Implemented Interfaces:
Serializable, Comparable<File>

public class TempFile
extends File

This class wraps a File object with a finalizer that ensures the file gets deleted when this object is reclaimed.

See Also:
Serialized Form

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

Constructor Detail

TempFile

public TempFile(String name)
Method Detail

finalize

protected void finalize()
                 throws Throwable
Overrides:
finalize in class Object
Throws:
Throwable

NASA World Wind WMS