| Package | Description |
|---|---|
| de.alpharogroup.file.copy |
Provides classes for copying of files or directories.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
CopyFileUtils.copyDirectory(File source,
File destination)
Copies the given source directory to the given destination directory.
|
static boolean |
CopyFileUtils.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 |
CopyFileUtils.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 |
CopyFileUtils.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 |
CopyFileUtils.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 |
CopyFileUtils.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 |
CopyFileUtils.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 |
CopyFileUtils.copyFile(File source,
File destination)
Copies the given source file to the given destination file.
|
static boolean |
CopyFileUtils.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 |
CopyFileUtils.copyFileToDirectory(File source,
File destinationDir)
Copies the given source file to the given destination directory.
|
static boolean |
CopyFileUtils.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.
|
Copyright © 2007–2015 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.