public class RollingFile
extends java.io.File
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.commons.logging.Log |
log |
| Constructor and Description |
|---|
RollingFile(java.lang.String pathname,
java.lang.String baseName) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
calcPos() |
protected java.lang.String |
getFileExpression() |
java.io.File |
getNewFile() |
protected java.lang.String |
getNewFileName() |
java.io.File[] |
readAll()
read all matching files from this
|
void |
setDigits(int digits) |
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, toPath, toString, toURI, toURLpublic RollingFile(java.lang.String pathname,
java.lang.String baseName)
pathname - the base filenamebaseName - the name of the base file, protected int calcPos()
public java.io.File[] readAll()
protected java.lang.String getFileExpression()
public java.io.File getNewFile()
protected java.lang.String getNewFileName()
public void setDigits(int digits)
digits - the digits to set