| Package | Description |
|---|---|
| de.alpharogroup.file.copy |
Provides classes for copying of files or directories.
|
| de.alpharogroup.file.rename |
Provides classes for renaming files or directories.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
CopyFileExtensions.copyDirectory(File source,
File destination)
Copies the given source directory to the given destination directory.
|
static boolean |
CopyFileExtensions.copyDirectory(File source,
File destination,
boolean lastModified)
Copies the given source directory to the given destination directory with the option to set
the lastModified time from the given destination file or directory.
|
static boolean |
CopyFileExtensions.copyDirectoryWithFileFilter(File source,
File destination,
FileFilter fileFilter,
boolean lastModified)
Copies all files that match to the FileFilter from the given source directory to the given
destination directory with the option to set the lastModified time from the given destination
file or directory.
|
static boolean |
CopyFileExtensions.copyDirectoryWithFileFilter(File source,
File destination,
FileFilter includeFileFilter,
FileFilter excludeFileFilter,
boolean lastModified)
Copies all files that match to the given includeFileFilter and does not copy all the files
that match the excludeFileFilter from the given source directory to the given destination
directory with the option to set the lastModified time from the given destination file or
directory.
|
static boolean |
CopyFileExtensions.copyDirectoryWithFileFilter(File source,
File destination,
FileFilter includeFileFilter,
FileFilter excludeFileFilter,
Collection<File> excludeFiles,
boolean lastModified)
Copies all files that match to the given includeFileFilter and does not copy all the files
that match the excludeFileFilter from the given source directory to the given destination
directory with the option to set the lastModified time from the given destination file or
directory.
|
static boolean |
CopyFileExtensions.copyDirectoryWithFilenameFilter(File source,
File destination,
FilenameFilter filenameFilter,
boolean lastModified)
Copies all files that match to the FilenameFilter from the given source directory to the
given destination directory with the option to set the lastModified time from the given
destination file or directory.
|
static boolean |
CopyFileExtensions.copyDirectoryWithFilenameFilter(File source,
File destination,
FilenameFilter includeFilenameFilter,
FilenameFilter excludeFilenameFilter,
boolean lastModified)
Copies all files that match to the given includeFilenameFilter and does not copy all the
files that match the excludeFilenameFilter from the given source directory to the given
destination directory with the option to set the lastModified time from the given destination
file or directory.
|
static boolean |
CopyFileExtensions.copyFile(File source,
File destination)
Copies the given source file to the given destination file.
|
static boolean |
CopyFileExtensions.copyFile(File source,
File destination,
boolean lastModified)
Copies the given source file to the given destination file with the option to set the
lastModified time from the given destination file.
|
static boolean |
CopyFileExtensions.copyFileToDirectory(File source,
File destinationDir)
Copies the given source file to the given destination directory.
|
static boolean |
CopyFileExtensions.copyFileToDirectory(File source,
File destinationDir,
boolean lastModified)
Copies the given source file to the given destination directory with the option to set the
lastModified time from the given destination directory.
|
| Modifier and Type | Method and Description |
|---|---|
static List<File> |
RenameFileExtensions.changeAllFilenameSuffix(File file,
String oldSuffix,
String newSuffix)
Changes all the Filenames with the new Suffix recursively.
|
static List<File> |
RenameFileExtensions.changeAllFilenameSuffix(File file,
String oldSuffix,
String newSuffix,
boolean delete)
Changes all the Filenames with the new Suffix recursively.
|
static boolean |
RenameFileExtensions.changeFilenameSuffix(File file,
String newSuffix)
Changes the suffix from the Filename.
|
static boolean |
RenameFileExtensions.changeFilenameSuffix(File file,
String newSuffix,
boolean delete)
Changes the suffix from the Filename.
|
static boolean |
RenameFileExtensions.forceToMoveFile(File srcFile,
File destinationFile)
Moves the given source file to the given destination file.
|
static boolean |
RenameFileExtensions.moveFile(File srcFile,
File destDir)
Moves the given source file to the destination Directory.
|
static boolean |
RenameFileExtensions.renameFile(File fileToRename,
File newFileName)
This method renames a given file.
|
static boolean |
RenameFileExtensions.renameFile(File fileToRename,
File newFileName,
boolean delete)
This method renames a given file.
|
static boolean |
RenameFileExtensions.renameFile(File fileToRename,
String newFileNameWithoutAbsolutPath)
This method renames a given file.
|
static File |
RenameFileExtensions.renameFileWithSystemtime(File fileToRename)
Renames the given file and add to the filename the systemtime.
|
Copyright © 2015–2018 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.