Package org.cip4.jdflib.util.file
Class RollingBackupDirectory
java.lang.Object
java.io.File
org.cip4.jdflib.util.BackupDirectory
org.cip4.jdflib.util.file.RollingBackupDirectory
- All Implemented Interfaces:
Serializable,Comparable<File>,IPersistable
backup directory that creates countable file names with varying extensions
- See Also:
-
Field Summary
Fields inherited from class java.io.File
pathSeparator, pathSeparatorChar, separator, separatorChar -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.cip4.jdflib.util.BackupDirectory
clean, getNewFile, getNewFile, isCreateDirectory, persist, setDirectoryMethods 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, toPath, toURI, toURL
-
Constructor Details
-
RollingBackupDirectory
- Parameters:
file-nBackupp-base- the file base name including its extension- Throws:
IllegalArgumentException
-
-
Method Details
-
getNewFile
- Returns:
-
getNewFileWithExt
- Parameters:
ext-- Returns:
-
toString
- Overrides:
toStringin classBackupDirectory- See Also:
-