Package ucar.unidata.util
Class TemporaryDir
java.lang.Object
ucar.unidata.util.TemporaryDir
- Version:
- $Revision: 1.52 $
-
Constructor Summary
ConstructorsConstructorDescriptionTemporaryDir
(File dir) _more_TemporaryDir
(File dir, int maxFiles, long maxSize, long maxAge) _more_TemporaryDir
(String dir) _more_ -
Method Summary
Modifier and TypeMethodDescription_more_getDir()
_more_long
Get the MaxAge property.int
Get the MaxFiles property.long
Get the MaxBytes property.boolean
Get the Touched property.boolean
_more_void
setMaxAge
(long value) Set the MaxAge property.void
setMaxFiles
(int value) Set the MaxFiles property.void
setMaxSize
(long value) Set the MaxBytes property.void
setTouched
(boolean value) Set the Touched property.toString()
_more_
-
Constructor Details
-
TemporaryDir
_more_- Parameters:
dir
- _more_
-
TemporaryDir
_more_- Parameters:
dir
- _more_
-
TemporaryDir
_more_- Parameters:
dir
- _more_maxFiles
- _more_maxSize
- _more_maxAge
- _more_
-
-
Method Details
-
haveChanged
public boolean haveChanged()_more_- Returns:
- _more_
-
toString
_more_ -
findFilesToScour
_more_- Returns:
- _more_
-
getDir
_more_- Returns:
- _more_
-
setMaxFiles
public void setMaxFiles(int value) Set the MaxFiles property.- Parameters:
value
- The new value for MaxFiles
-
getMaxFiles
public int getMaxFiles()Get the MaxFiles property.- Returns:
- The MaxFiles
-
setMaxSize
public void setMaxSize(long value) Set the MaxBytes property.- Parameters:
value
- The new value for MaxBytes
-
getMaxSize
public long getMaxSize()Get the MaxBytes property.- Returns:
- The MaxBytes
-
setMaxAge
public void setMaxAge(long value) Set the MaxAge property.- Parameters:
value
- The new value for MaxAge
-
getMaxAge
public long getMaxAge()Get the MaxAge property.- Returns:
- The MaxAge
-
setTouched
public void setTouched(boolean value) Set the Touched property.- Parameters:
value
- The new value for Touched
-
getTouched
public boolean getTouched()Get the Touched property.- Returns:
- The Touched
-