public class RollingFile extends File
Modifier and Type | Field and Description |
---|---|
protected org.apache.commons.logging.Log |
log |
pathSeparator, pathSeparatorChar, separator, separatorChar
Constructor and Description |
---|
RollingFile(String pathname,
String baseName) |
Modifier and Type | Method and Description |
---|---|
protected int |
calcPos() |
protected String |
getFileExpression() |
File |
getNewFile() |
protected String |
getNewFileName() |
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, toURL
public RollingFile(String pathname, String baseName)
pathname
- the base filenamebaseName
- the name of the base file, protected int calcPos()
public File[] readAll()
protected String getFileExpression()
public File getNewFile()
protected String getNewFileName()
public void setDigits(int digits)
digits
- the digits to setCopyright © 2018. All rights reserved.