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:
java.io.Serializable, java.lang.Comparable<java.io.File>

public class TempFile
extends java.io.File

This class wraps a File object with a finalizer that ensures the file gets deleted (if it has not already) 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(java.lang.String name)
           
 
Method Summary
protected  void finalize()
           
static TempFile getTempFile()
           
static TempFile getTempFile(double lon, double lat, java.lang.String ext)
           
 
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, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TempFile

public TempFile(java.lang.String name)
Method Detail

finalize

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

getTempFile

public static TempFile getTempFile()

getTempFile

public static TempFile getTempFile(double lon,
                                   double lat,
                                   java.lang.String ext)

NASA World Wind WMS