public class TemporaryDir
extends java.lang.Object
Constructor and Description |
---|
TemporaryDir(java.io.File dir)
_more_
|
TemporaryDir(java.io.File dir,
int maxFiles,
long maxSize,
long maxAge)
_more_
|
TemporaryDir(java.lang.String dir)
_more_
|
Modifier and Type | Method and Description |
---|---|
java.util.List<java.io.File> |
findFilesToScour()
_more_
|
java.io.File |
getDir()
_more_
|
long |
getMaxAge()
Get the MaxAge property.
|
int |
getMaxFiles()
Get the MaxFiles property.
|
long |
getMaxSize()
Get the MaxBytes property.
|
boolean |
getTouched()
Get the Touched property.
|
boolean |
haveChanged()
_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.
|
java.lang.String |
toString()
_more_
|
public TemporaryDir(java.lang.String dir)
dir
- _more_public TemporaryDir(java.io.File dir)
dir
- _more_public TemporaryDir(java.io.File dir, int maxFiles, long maxSize, long maxAge)
dir
- _more_maxFiles
- _more_maxSize
- _more_maxAge
- _more_public boolean haveChanged()
public java.lang.String toString()
toString
in class java.lang.Object
public java.util.List<java.io.File> findFilesToScour()
public java.io.File getDir()
public void setMaxFiles(int value)
value
- The new value for MaxFilespublic int getMaxFiles()
public void setMaxSize(long value)
value
- The new value for MaxBytespublic long getMaxSize()
public void setMaxAge(long value)
value
- The new value for MaxAgepublic long getMaxAge()
public void setTouched(boolean value)
value
- The new value for Touchedpublic boolean getTouched()