| Package | Description |
|---|---|
| de.alpharogroup.file.copy |
Provides classes for copying of files or directories.
|
| de.alpharogroup.file.delete |
Provides classes for deletion of 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.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 void |
DeleteFileExtensions.deleteFilesWithFileFilter(File source,
FileFilter includeFileFilter)
Tries to delete all files that match to the given includeFileFilter from the given source
directory.
|
static void |
DeleteFileExtensions.deleteFilesWithFileFilter(File source,
FileFilter includeFileFilter,
FileFilter excludeFileFilter)
Tries to delete all files that match to the given includeFileFilter and does not delete the
files that match the excludeFileFilter from the given source directory.
|
static void |
DeleteFileExtensions.deleteFilesWithFilenameFilter(File source,
FilenameFilter includeFilenameFilter)
Tries to delete all files that match to the given includeFilenameFilter from the given source
directory.
|
static void |
DeleteFileExtensions.deleteFilesWithFilenameFilter(File source,
FilenameFilter includeFilenameFilter,
FilenameFilter excludeFilenameFilter)
Tries to delete all files that match to the given includeFilenameFilter and does not delete
the files that match the excludeFilenameFilter from the given source directory.
|
Copyright © 2015–2018 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.