Modifier and Type | Field and Description |
---|---|
protected File |
SubCommandWithExistingLocalRepo.localFile
File referencing a directory inside the repository (or its root). |
protected File |
SubCommandWithExistingLocalRepo.localRoot
The root directory of the repository.
|
Constructor and Description |
---|
RepoInfoSubCommand(File localRoot) |
Modifier and Type | Method and Description |
---|---|
void |
AppIdRegistry.copyResourceResolvingAppId(Class<?> sourceResClass,
String sourceResName,
File destinationFile) |
Modifier and Type | Field and Description |
---|---|
protected File[] |
ConfigImpl.propertiesFiles |
Modifier and Type | Method and Description |
---|---|
File |
ConfigDir.getFile()
Gets the central configuration directory as absolute
File . |
protected File |
ConfigImpl.getFile()
Get the directory or file for which this Config instance is responsible.
|
File |
ConfigDir.getLogDir()
Gets the log directory (the directory where the log files are written to).
|
Modifier and Type | Method and Description |
---|---|
static Config |
ConfigImpl.getInstanceForDirectory(File directory)
Gets the
Config for the given directory . |
static Config |
ConfigImpl.getInstanceForFile(File file)
Gets the
Config for the given file . |
Constructor and Description |
---|
ConfigImpl(ConfigImpl parentConfig,
File file,
File[] propertiesFiles) |
ConfigImpl(ConfigImpl parentConfig,
File file,
File[] propertiesFiles) |
Modifier and Type | Method and Description |
---|---|
D |
DtoIo.deserialize(File file) |
D |
DtoIo.deserializeWithGz(File file) |
void |
DtoIo.serialize(D dto,
File file) |
void |
DtoIo.serializeWithGz(D dto,
File file) |
Modifier and Type | Method and Description |
---|---|
static IgnoreRuleManager |
IgnoreRuleManagerImpl.getInstanceForDirectory(File directory) |
boolean |
IgnoreRuleManagerImpl.isIgnored(File file) |
boolean |
IgnoreRuleManager.isIgnored(File file)
Determines, whether the given
file is ignored. |
Constructor and Description |
---|
IgnoreRuleManagerImpl(File directory) |
Modifier and Type | Method and Description |
---|---|
File |
LockFile.getFile()
Gets the underlying file being locked.
|
Modifier and Type | Method and Description |
---|---|
LockFile |
LockFileFactory.acquire(File file,
long timeoutMillis)
Acquire an exclusive lock on the specified file.
|
Modifier and Type | Class and Description |
---|---|
class |
IoFile |
Modifier and Type | Method and Description |
---|---|
File |
FileFactory.createFile(File file) |
File |
IoFileFactory.createFile(File file) |
static File |
OioFileFactory.createFile(File file)
Factory method, substitutes the constructor of
File . |
static File |
OioFileFactory.createFile(File parent,
String... children)
Factory method, substitutes the constructor of
File . |
File |
FileFactory.createFile(File parent,
String child) |
File |
IoFileFactory.createFile(File parent,
String child) |
File |
File.createFile(String... children)
Create a child-
File . |
File |
IoFile.createFile(String... children) |
File |
FileFactory.createFile(String pathname) |
File |
IoFileFactory.createFile(String pathname) |
static File |
OioFileFactory.createFile(String pathname)
Factory method, substitutes the constructor of
File . |
static File |
OioFileFactory.createFile(String parent,
String... children)
Factory method, substitutes the constructor of
File . |
File |
FileFactory.createFile(String parent,
String child) |
File |
IoFileFactory.createFile(String parent,
String child) |
File |
FileFactory.createFile(URI uri) |
File |
IoFileFactory.createFile(URI uri) |
static File |
OioFileFactory.createFile(URI uri)
Factory method, substitutes the constructor of
File . |
File |
FileFactory.createTempDirectory(String prefix) |
File |
IoFileFactory.createTempDirectory(String prefix) |
static File |
OioFileFactory.createTempDirectory(String prefix)
Creates a temporary directory.
|
static File |
IoFileUtil.createTempDirectory(String prefix)
Discussion for best solution:
http://stackoverflow.com/questions/617414/create-a-temporary-directory-in-java
|
File |
FileFactory.createTempFile(String prefix,
String suffix) |
File |
IoFileFactory.createTempFile(String prefix,
String suffix) |
static File |
OioFileFactory.createTempFile(String prefix,
String suffix)
Creates a temporary file.
|
static File |
IoFileUtil.createTempFile(String prefix,
String suffix) |
File |
FileFactory.createTempFile(String prefix,
String suffix,
File parentDir) |
File |
IoFileFactory.createTempFile(String prefix,
String suffix,
File parentDir) |
static File |
OioFileFactory.createTempFile(String prefix,
String suffix,
File dir)
Creates a temporary file within specified parent directory.
|
static File |
IoFileUtil.createTempFile(String prefix,
String suffix,
File dir) |
File |
File.getAbsoluteFile() |
File |
IoFile.getAbsoluteFile() |
File |
File.getCanonicalFile() |
File |
IoFile.getCanonicalFile() |
File |
File.getParentFile() |
File |
IoFile.getParentFile() |
File[] |
File.listFiles() |
File[] |
IoFile.listFiles() |
File[] |
File.listFiles(FileFilter fileFilter) |
File[] |
File.listFiles(FileFilter fileFilter) |
File[] |
IoFile.listFiles(FileFilter fileFilter) |
File[] |
IoFile.listFiles(FileFilter fileFilter) |
File[] |
File.listFiles(FilenameFilter fileFilter) |
File[] |
IoFile.listFiles(FilenameFilter fileFilter) |
File[] |
FileFactory.listRootFiles() |
File[] |
IoFileFactory.listRootFiles() |
static File[] |
OioFileFactory.listRootFiles()
Lists the file system roots (wraps
File.listRoots() ). |
static File[] |
IoFileUtil.listRoots() |
static File |
IoFileUtil.newFileNameForRenameTo(File fromDir,
File toDir,
File current) |
Modifier and Type | Method and Description |
---|---|
boolean |
FileFilter.accept(File file)
Tests whether or not the specified file should be
included in a file list.
|
static IoFile |
IoFileUtil.castOrFail(File file) |
protected static void |
IoFileUtil.checkRenameDir(File fromDir,
File toDir)
Before starting a moveRecursively operation, which will make use of the
File.renameTo method, it is useful to determine, whether this is possible
or not.
|
int |
File.compareTo(File otherFile) |
int |
IoFile.compareTo(File otherFile) |
void |
File.copyToCopyAttributes(File toFile)
Copies a file, a symlink (depends on environment/implementation) or a directory (non-recursive).
|
void |
IoFile.copyToCopyAttributes(File toFile) |
static File |
OioFileFactory.createFile(File parent,
String... children)
Factory method, substitutes the constructor of
File . |
File |
FileFactory.createFile(File parent,
String child) |
File |
IoFileFactory.createFile(File parent,
String child) |
File |
FileFactory.createTempFile(String prefix,
String suffix,
File parentDir) |
File |
IoFileFactory.createTempFile(String prefix,
String suffix,
File parentDir) |
static File |
OioFileFactory.createTempFile(String prefix,
String suffix,
File dir)
Creates a temporary file within specified parent directory.
|
static File |
IoFileUtil.createTempFile(String prefix,
String suffix,
File dir) |
static File |
IoFileUtil.getIoFile(File file) |
void |
File.move(File toFile)
This is platform independent, in contrast to
renameTo(File) respectively File.renameTo(java.io.File) . |
void |
IoFile.move(File toFile) |
static void |
IoFileUtil.moveRecursively(File fromDir,
File toDir)
Directories will be created/deleted, files renamed.
|
static File |
IoFileUtil.newFileNameForRenameTo(File fromDir,
File toDir,
File current) |
String |
File.relativize(File target) |
String |
IoFile.relativize(File target) |
boolean |
File.renameTo(File newFileName)
This is platform dependent (e.g.
|
boolean |
IoFile.renameTo(File dest) |
Constructor and Description |
---|
IoFile(File parent,
String child) |
Modifier and Type | Class and Description |
---|---|
class |
NioFile
File object with allowed imports to the java Java 1.7 NIO2 classes and packages.
|
Modifier and Type | Method and Description |
---|---|
File |
NioFileFactory.createFile(File file) |
File |
NioFileFactory.createFile(File parent,
String child) |
File |
NioFileFactory.createFile(String pathname) |
File |
NioFileFactory.createFile(String parent,
String child) |
File |
NioFileFactory.createFile(URI uri) |
static File |
NioFileUtil.createTempDirectory(String prefix) |
File |
NioFileFactory.createTempDirectory(String prefix) |
static File |
NioFileUtil.createTempFile(String prefix,
String suffix) |
File |
NioFileFactory.createTempFile(String prefix,
String suffix) |
static File |
NioFileUtil.createTempFile(String prefix,
String suffix,
File parentDir) |
File |
NioFileFactory.createTempFile(String prefix,
String suffix,
File parentDir) |
File |
NioFile.getAbsoluteFile() |
File |
NioFile.getCanonicalFile() |
File |
NioFile.getParentFile() |
File[] |
NioFile.listFiles() |
File[] |
NioFile.listFiles(FileFilter fileFilter) |
File[] |
NioFile.listFiles(FilenameFilter fileFilter) |
File[] |
NioFileFactory.listRootFiles() |
Modifier and Type | Method and Description |
---|---|
int |
NioFile.compareTo(File otherFile) |
void |
NioFile.copyToCopyAttributes(File toFile) |
File |
NioFileFactory.createFile(File parent,
String child) |
static File |
NioFileUtil.createTempFile(String prefix,
String suffix,
File parentDir) |
File |
NioFileFactory.createTempFile(String prefix,
String suffix,
File parentDir) |
void |
NioFile.move(File toFile) |
String |
NioFile.relativize(File target) |
boolean |
NioFile.renameTo(File dest) |
Constructor and Description |
---|
NioFile(File parent,
String child) |
Modifier and Type | Method and Description |
---|---|
File |
FileNoDirectoryException.getFile() |
File |
FileAlreadyRepositoryException.getFile() |
File |
FileNotFoundException.getFile() |
File |
FileNoRepositoryException.getFile() |
File |
LocalRepoManager.getLocalRoot()
Gets the repository's local root directory.
|
File |
RepositoryCorruptException.getLocalRoot() |
File |
LocalRepoRegistryImpl.getLocalRoot(UUID repositoryId) |
File |
LocalRepoRegistry.getLocalRoot(UUID repositoryId) |
static File |
LocalRepoHelper.getLocalRootContainingFile(File file)
Gets the local root containing the given
file . |
File |
LocalRepoRegistryImpl.getLocalRootForRepositoryName(String repositoryName) |
File |
LocalRepoRegistry.getLocalRootForRepositoryName(String repositoryName)
Get the local root for the given
repositoryName . |
File |
LocalRepoRegistryImpl.getLocalRootForRepositoryNameOrFail(String repositoryName) |
File |
LocalRepoRegistry.getLocalRootForRepositoryNameOrFail(String repositoryName) |
File |
LocalRepoRegistryImpl.getLocalRootOrFail(UUID repositoryId) |
File |
LocalRepoRegistry.getLocalRootOrFail(UUID repositoryId) |
Modifier and Type | Method and Description |
---|---|
Set<File> |
LocalRepoManagerFactory.getLocalRoots() |
static Collection<File> |
LocalRepoHelper.getLocalRootsContainedInDirectory(File directory) |
Modifier and Type | Method and Description |
---|---|
LocalRepoManager |
LocalRepoManagerFactory.createLocalRepoManagerForExistingRepository(File localRoot)
Creates a
LocalRepoManager for the given localRoot . |
LocalRepoManager |
LocalRepoManagerFactory.createLocalRepoManagerForNewRepository(File localRoot)
Creates a
LocalRepoManager for the given localRoot . |
protected static String |
FileNotFoundException.createMessage(File file) |
static File |
LocalRepoHelper.getLocalRootContainingFile(File file)
Gets the local root containing the given
file . |
static Collection<File> |
LocalRepoHelper.getLocalRootsContainedInDirectory(File directory) |
void |
LocalRepoRegistryImpl.putRepository(UUID repositoryId,
File localRoot) |
void |
LocalRepoRegistry.putRepository(UUID repositoryId,
File localRoot) |
Constructor and Description |
---|
FileAlreadyRepositoryException(File file) |
FileAlreadyRepositoryException(File file,
Throwable cause) |
FileNoDirectoryException(File file) |
FileNoDirectoryException(File file,
Throwable cause) |
FileNoRepositoryException(File file) |
FileNoRepositoryException(File file,
Throwable cause) |
FileNotFoundException(File file) |
FileNotFoundException(File file,
Throwable cause) |
RepositoryCorruptException(File localRoot,
String message) |
RepositoryCorruptException(File localRoot,
String message,
Throwable cause) |
RepositoryCorruptException(File localRoot,
Throwable cause) |
Modifier and Type | Field and Description |
---|---|
protected File |
RepoToRepoSync.localRoot |
Modifier and Type | Method and Description |
---|---|
File |
DoneMarker.getDoneDir() |
protected File |
RepoToRepoSync.getLocalRepoMetaDir() |
protected File |
RepoToRepoSync.getLocalRepoTmpDir() |
File |
RepoSyncState.getLocalRoot() |
File |
RepoSyncActivity.getLocalRoot() |
Modifier and Type | Method and Description |
---|---|
static RepoToRepoSync |
RepoToRepoSync.create(File localRoot,
URL remoteRoot) |
UUID |
RepoSyncDaemon.startSync(File file) |
UUID |
RepoSyncDaemonImpl.startSync(File file) |
Constructor and Description |
---|
DoneMarker(File doneDir) |
RepoSyncActivity(UUID localRepositoryId,
File localRoot,
RepoSyncActivityType activityType) |
RepoSyncState(UUID localRepositoryId,
UUID serverRepositoryId,
File localRoot,
URL url,
Severity severity,
String message,
Error error,
Date syncStarted,
Date syncFinished) |
RepoToRepoSync(File localRoot,
URL remoteRoot)
Create an instance.
|
Modifier and Type | Method and Description |
---|---|
protected File |
CloudStoreUpdaterCore.getBackupDir() |
protected File |
CloudStoreUpdaterCore.getInstallationDir()
Gets the installation directory.
|
File |
CloudStoreUpdaterCore.getUpdaterDir() |
Modifier and Type | Method and Description |
---|---|
static File |
IOUtil.createCollisionFile(File file) |
static File |
IOUtil.createUniqueIncrementalFolder(File rootFolder,
String prefix)
Tries to find a unique, not existing folder name under the given root folder
suffixed with a number.
|
static File |
IOUtil.createUniqueRandomFolder(File rootFolder,
String prefix)
Tries to find a unique, not existing folder name under the given root folder with a random
number (in hex format) added to the given prefix.
|
static File |
IOUtil.createUniqueRandomFolder(File rootFolder,
String prefix,
long maxIterations,
long uniqueOutOf)
Tries to find a unique, not existing folder name under the given root folder with a random
number (in hex format) added to the given prefix.
|
static File |
IOUtil.createUserTempDir(String prefix,
String suffix)
Get a user-dependent temp directory in every operating system and create it, if it does not exist.
|
static File |
IOUtil.getFile(File file,
String... subDirs)
Get a file object from a base directory and a list of subdirectories or files.
|
static File |
UrlUtil.getFile(URL url) |
static File |
UrlUtil.getFileFromJarUrl(URL url)
Gets the File referencing the JAR.
|
static File |
IOUtil.getTempDir()
Get the temporary directory.
|
static File |
IOUtil.getUserHome() |
static File |
IOUtil.getUserTempDir(String prefix,
String suffix)
Get a user-dependent temp directory in every operating system.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
IOUtil.compareFiles(File f1,
File f2)
Compare the contents of two given files.
|
static void |
IOUtil.copyDirectory(File sourceDirectory,
File destinationDirectory)
Copy a directory recursively.
|
static void |
IOUtil.copyDirectory(File sourceDirectory,
File destinationDirectory,
FileFilter fileFilter) |
static void |
IOUtil.copyFile(File sourceFile,
File destinationFile)
Copy a file.
|
static void |
IOUtil.copyFile(File sourceFile,
File destinationFile,
ProgressMonitor monitor) |
static void |
IOUtil.copyResource(Class<?> sourceResClass,
String sourceResName,
File destinationFile)
Copy a resource loaded by the class loader of a given class to a file.
|
static File |
IOUtil.createCollisionFile(File file) |
static File |
IOUtil.createUniqueIncrementalFolder(File rootFolder,
String prefix)
Tries to find a unique, not existing folder name under the given root folder
suffixed with a number.
|
static File |
IOUtil.createUniqueRandomFolder(File rootFolder,
String prefix)
Tries to find a unique, not existing folder name under the given root folder with a random
number (in hex format) added to the given prefix.
|
static File |
IOUtil.createUniqueRandomFolder(File rootFolder,
String prefix,
long maxIterations,
long uniqueOutOf)
Tries to find a unique, not existing folder name under the given root folder with a random
number (in hex format) added to the given prefix.
|
static boolean |
IOUtil.deleteDirectoryRecursively(File dir)
Deprecated.
user File.deleteRecursively instead
|
static void |
IOUtil.deleteOrFail(File file) |
static byte[] |
IOUtil.getBytesFromFile(File file) |
static File |
IOUtil.getFile(File file,
String... subDirs)
Get a file object from a base directory and a list of subdirectories or files.
|
static String |
IOUtil.getRelativePath(File baseDir,
File file)
Deprecated.
User
relativize(File) |
static String |
IOUtil.getRelativePath(File baseDir,
String file)
Deprecated.
User
relativize(File) |
static Properties |
PropertiesUtil.load(File file) |
static String |
IOUtil.readTextFile(File f)
Read a UTF-8 encoded text file and return the contents as string.
|
static String |
IOUtil.readTextFile(File f,
String encoding)
Read a text file and return the contents as string.
|
static void |
IOUtil.replaceTemplateVariables(File destinationFile,
File templateFile,
String characterSet,
Map<?,?> variables)
Generate a file from a template.
|
static void |
DerbyUtil.setLogFile(File file) |
static String |
IOUtil.simplifyPath(File path)
This method removes double slashes, single-dot-directories and double-dot-directories
from a path.
|
static void |
PropertiesUtil.store(File file,
Properties properties,
String comment) |
static void |
ZipUtil.unzipArchive(File zipArchive,
File unzipRootFolder)
Calls
ZipUtil.unzipArchive(URL, File) converting the File-parameter zipArchive to an url. |
static void |
ZipUtil.unzipArchive(URL zipArchive,
File unzipRootFolder)
Unzip the given archive into the given folder.
|
static void |
ZipUtil.unzipArchiveIfModified(File zipArchive,
File unzipRootFolder)
Calls
ZipUtil.unzipArchiveIfModified(URL, File) converting the File-parameter zipArchive to an url. |
static void |
ZipUtil.unzipArchiveIfModified(URL zipArchive,
File unzipRootFolder)
Unzip the given archive into the given folder, if the archive was modified
after being unzipped the last time by this method.
|
static void |
IOUtil.writeTextFile(File file,
String text)
Write text to a file using UTF-8 encoding.
|
static void |
IOUtil.writeTextFile(File file,
String text,
String encoding)
Write text to a file.
|
static void |
ZipUtil.zipFilesRecursively(File zipOutputFile,
File[] files,
File entryRoot)
Recursively zips all given files to a zipFile defined by zipOutputFile.
|
static void |
ZipUtil.zipFilesRecursively(File zipOutputFile,
File[] files,
File entryRoot)
Recursively zips all given files to a zipFile defined by zipOutputFile.
|
static void |
ZipUtil.zipFilesRecursively(File zipOutputFile,
File[] files,
File entryRoot,
ProgressMonitor monitor)
Recursively zips all given files to a zipFile defined by zipOutputFile.
|
static void |
ZipUtil.zipFilesRecursively(File zipOutputFile,
File[] files,
File entryRoot,
ProgressMonitor monitor)
Recursively zips all given files to a zipFile defined by zipOutputFile.
|
static void |
ZipUtil.zipFilesRecursively(ZipOutputStream out,
File zipOutputFile,
File[] files,
File entryRoot)
Recursively writes all found files as entries into the given ZipOutputStream.
|
static void |
ZipUtil.zipFilesRecursively(ZipOutputStream out,
File zipOutputFile,
File[] files,
File entryRoot)
Recursively writes all found files as entries into the given ZipOutputStream.
|
static void |
ZipUtil.zipFilesRecursively(ZipOutputStream out,
File zipOutputFile,
File[] files,
File entryRoot,
ProgressMonitor monitor)
Recursively writes all found files as entries into the given ZipOutputStream.
|
static void |
ZipUtil.zipFilesRecursively(ZipOutputStream out,
File zipOutputFile,
File[] files,
File entryRoot,
ProgressMonitor monitor)
Recursively writes all found files as entries into the given ZipOutputStream.
|
static void |
ZipUtil.zipFolder(File zipOutputFile,
File zipInputFolder)
Recursively zips all entries of the given zipInputFolder to
a zipFile defined by zipOutputFile.
|
static void |
ZipUtil.zipFolder(File zipOutputFile,
File zipInputFolder,
ProgressMonitor monitor)
Recursively zips all entries of the given zipInputFolder to
a zipFile defined by zipOutputFile.
|
Modifier and Type | Field and Description |
---|---|
protected File |
LocalRepoSync.localRoot |
Modifier and Type | Method and Description |
---|---|
protected File |
JdbcConnectionFactory.getMetaDir() |
Modifier and Type | Method and Description |
---|---|
Set<File> |
LocalRepoManagerFactoryImpl.getLocalRoots() |
Modifier and Type | Method and Description |
---|---|
protected RepoFile |
LocalRepoSync._createRepoFile(RepoFile parentRepoFile,
File file,
ProgressMonitor monitor) |
LocalRepoManager |
LocalRepoManagerFactoryImpl.createLocalRepoManagerForExistingRepository(File localRoot) |
LocalRepoManager |
LocalRepoManagerFactoryImpl.createLocalRepoManagerForNewRepository(File localRoot) |
protected RepoFile |
LocalRepoSync.createRepoFile(RepoFile parentRepoFile,
File file,
ProgressMonitor monitor) |
boolean |
LocalRepoSync.isModified(RepoFile repoFile,
File file) |
boolean |
LocalRepoSync.isRepoFileTypeCorrect(RepoFile repoFile,
File file)
Determines, if the type of the given
repoFile matches the type
of the file in the file system referenced by the given file . |
protected void |
LocalRepoSync.sha(NormalFile normalFile,
File file,
ProgressMonitor monitor) |
RepoFile |
LocalRepoSync.sync(File file,
ProgressMonitor monitor,
boolean recursiveChildren) |
protected RepoFile |
LocalRepoSync.sync(RepoFile parentRepoFile,
File file,
ProgressMonitor monitor,
boolean recursiveChildren)
Sync the single given
file . |
void |
LocalRepoSync.updateRepoFile(RepoFile repoFile,
File file,
ProgressMonitor monitor) |
Constructor and Description |
---|
JdbcConnectionFactory(File localRoot) |
PersistencePropertiesProvider(UUID repositoryId,
File localRoot) |
RepairDatabase(File localRoot) |
Modifier and Type | Method and Description |
---|---|
File |
AbstractDatabaseAdapter.getLocalRoot() |
File |
DatabaseAdapter.getLocalRoot() |
File |
AbstractDatabaseAdapter.getLocalRootOrFail() |
protected File |
AbstractDatabaseAdapter.getMetaDir() |
protected File |
AbstractDatabaseAdapter.getPersistencePropertiesFile() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractDatabaseAdapter.setLocalRoot(File localRoot) |
void |
DatabaseAdapter.setLocalRoot(File localRoot) |
Modifier and Type | Method and Description |
---|---|
File |
RepoFile.getFile(File localRoot)
|
Modifier and Type | Method and Description |
---|---|
File |
RepoFile.getFile(File localRoot)
|
RepoFile |
RepoFileDao.getRepoFile(File localRoot,
File file)
Get the
RepoFile for the given file in the file system. |
Modifier and Type | Method and Description |
---|---|
File |
TempChunkFileManager.createTempChunkFile(File destFile,
long offset)
Create the temporary file for the given
destFile and offset . |
protected File |
TempChunkFileManager.createTempChunkFile(File destFile,
long offset,
boolean createNewFile) |
protected File |
FileRepoTransport.getFile(String path) |
protected File |
ChangeSetDtoBuilder.getPathPrefixFile() |
File |
TempChunkFileWithDtoFile.getTempChunkFile() |
File |
TempChunkFileWithDtoFile.getTempChunkFileDtoFile() |
File |
TempChunkFileManager.getTempChunkFileDtoFile(File tempChunkFile) |
File |
TempChunkFileManager.getTempDir(File destFile) |
protected File |
FileRepoTransport.handleFileCollision(LocalRepoTransaction transaction,
UUID fromRepositoryId,
File file) |
Modifier and Type | Method and Description |
---|---|
protected List<File> |
ChangeSetDtoBuilder.getExistingConfigFilesAbovePathPrefix() |
Modifier and Type | Method and Description |
---|---|
void |
ParentFileLastModifiedManager.backupParentFileLastModified(File parentFile) |
File |
TempChunkFileManager.createTempChunkFile(File destFile,
long offset)
Create the temporary file for the given
destFile and offset . |
protected File |
TempChunkFileManager.createTempChunkFile(File destFile,
long offset,
boolean createNewFile) |
TempChunkFileDto |
TempChunkFileManager.createTempChunkFileDto(long offset,
File tempChunkFile,
String sha1) |
protected void |
TempChunkFileManager.deleteOrFail(File file) |
void |
TempChunkFileManager.deleteTempDirIfEmpty(File destFile)
Deletes the temporary directory for the given
destFile ,
if this directory is empty. |
protected void |
FileRepoTransport.detectAndHandleFileCollision(LocalRepoTransaction transaction,
UUID fromRepositoryId,
File file,
RepoFile normalFileOrSymlink)
Detect if the file to be copied has been modified locally (or copied from another repository) after the last
sync from the repository identified by
fromRepositoryId . |
protected boolean |
FileRepoTransport.detectFileCollision(LocalRepoTransaction transaction,
UUID fromRepositoryId,
File file,
RepoFile normalFileOrSymlink)
Detect if the file to be copied or deleted has been modified locally (or copied from another repository) after the last
sync from the repository identified by
fromRepositoryId . |
protected boolean |
FileRepoTransport.detectFileCollisionRecursively(LocalRepoTransaction transaction,
UUID fromRepositoryId,
File fileOrDirectory) |
Map<Long,TempChunkFileWithDtoFile> |
TempChunkFileManager.getOffset2TempChunkFileWithDtoFile(File destFile) |
File |
TempChunkFileManager.getTempChunkFileDtoFile(File tempChunkFile) |
File |
TempChunkFileManager.getTempDir(File destFile) |
protected File |
FileRepoTransport.handleFileCollision(LocalRepoTransaction transaction,
UUID fromRepositoryId,
File file) |
protected void |
FileRepoTransport.handleFileTypeCollision(LocalRepoTransaction transaction,
UUID fromRepositoryId,
File file,
Class<? extends RepoFileDto> fromFileType)
Handle a file-type-collision, which was already detected.
|
protected void |
FileRepoTransport.mkDir(LocalRepoTransaction transaction,
UUID clientRepositoryId,
File file,
Date lastModified) |
void |
TempChunkFileManager.moveChunks(File oldDestFile,
File newDestFile)
If source file was moved, the chunks need to be moved, too.
|
protected void |
TempChunkFileManager.moveOrFail(File oldFile,
File newFile) |
void |
ParentFileLastModifiedManager.restoreParentFileLastModified(File parentFile) |
void |
TempChunkFileWithDtoFile.setTempChunkFile(File tempChunkFile) |
void |
TempChunkFileWithDtoFile.setTempChunkFileDtoFile(File tempChunkFileDtoFile) |
protected RepoFile |
FileRepoTransport.syncRepoFile(LocalRepoTransaction transaction,
File file)
Syncs the single file/directory/symlink passed as
file into the database non-recursively. |
void |
TempChunkFileManager.writeFileDataToTempChunkFile(File destFile,
long offset,
byte[] fileData) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
ChangeSetDtoBuilder.isFileModifiedAfterLastSync(Collection<File> files) |
Modifier and Type | Method and Description |
---|---|
static IInputStream |
FileLs.createInputStream(File file) |
static IOutputStream |
FileLs.createOutputStream(File file) |
static IOutputStream |
FileLs.createOutputStream(File file,
boolean append) |
Modifier and Type | Method and Description |
---|---|
protected File |
LocalServerPropertiesManager.getLocalServerPropertiesFile() |
Modifier and Type | Method and Description |
---|---|
File |
LocalServer.getLocalServerRunningFile() |
File |
LocalServer.getLocalServerStopFile() |
Modifier and Type | Method and Description |
---|---|
File |
SSLContextBuilder.getTrustStoreFile() |
Modifier and Type | Method and Description |
---|---|
void |
SSLContextBuilder.setTrustStoreFile(File trustStoreFile) |
SSLContextBuilder |
SSLContextBuilder.trustStoreFile(File trustStoreFile) |
Modifier and Type | Method and Description |
---|---|
protected File |
RestRepoTransport.getChangeSetDtoCacheFile(Long lastSyncToRemoteRepoLocalRepositoryRevisionSynced) |
protected File |
RestRepoTransport.getLocalRepoMetaDir() |
protected File |
RestRepoTransport.getLocalRepoTmpDir() |
Modifier and Type | Method and Description |
---|---|
protected List<File> |
RestRepoTransport.getChangeSetDtoCacheFiles(boolean includeTmpFiles) |
Modifier and Type | Method and Description |
---|---|
File |
CloudStoreServer.getKeyStoreFile() |
Modifier and Type | Method and Description |
---|---|
void |
CloudStoreServer.setKeyStoreFile(File keyStoreFile) |
Modifier and Type | Method and Description |
---|---|
File |
DefaultTarGzEntryNameConverter.getFile(File rootDir,
String entryName) |
File |
TarGzEntryNameConverter.getFile(File rootDir,
String entryName) |
protected File |
CloudStoreUpdater.getInstallationDir()
Gets the installation directory that was passed as command line parameter.
|
Modifier and Type | Method and Description |
---|---|
void |
TarGzFile.compress(File rootDir) |
void |
TarGzFile.extract(File rootDir) |
String |
DefaultTarGzEntryNameConverter.getEntryName(File rootDir,
File file) |
String |
TarGzEntryNameConverter.getEntryName(File rootDir,
File file) |
File |
DefaultTarGzEntryNameConverter.getFile(File rootDir,
String entryName) |
File |
TarGzEntryNameConverter.getFile(File rootDir,
String entryName) |
void |
PGPVerifier.verify(File file,
File signatureFile)
Verify the specified
file . |
Constructor and Description |
---|
TarGzFile(File tarGzFile) |
Copyright © 2013–2019. All rights reserved.