|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.io.File
org.cip4.jdflib.util.BackupDirectory
org.cip4.jdflib.util.file.RollingBackupDirectory
public class RollingBackupDirectory
backup directory that creates countable file names with varying extensions
| Field Summary |
|---|
| Fields inherited from class java.io.File |
|---|
pathSeparator, pathSeparatorChar, separator, separatorChar |
| Constructor Summary | |
|---|---|
RollingBackupDirectory(File file,
int nBackupp,
String base)
|
|
| Method Summary | |
|---|---|
File |
getNewFile()
|
File |
getNewFileWithExt(String ext)
|
String |
toString()
|
| Methods inherited from class org.cip4.jdflib.util.BackupDirectory |
|---|
getNewFile, getNewFile, persist |
| 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, toURI, toURL |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RollingBackupDirectory(File file,
int nBackupp,
String base)
throws IllegalArgumentException
file - nBackupp - base - the file base name including its extension
IllegalArgumentException| Method Detail |
|---|
public File getNewFile()
public File getNewFileWithExt(String ext)
ext -
public String toString()
toString in class BackupDirectoryFile.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||