Uses of Class
org.kendar.sync.lib.model.FileInfo
Packages that use FileInfo
Package
Description
-
Uses of FileInfo in org.kendar.sync.client
Methods in org.kendar.sync.client with parameters of type FileInfoModifier and TypeMethodDescriptionprotected voidBaseSyncClientProcess.transferFile(FileInfo file, CommandLineArgs args, TcpConnection connection) Transfers a single file using a dedicated connection.Method parameters in org.kendar.sync.client with type arguments of type FileInfoModifier and TypeMethodDescriptionprotected voidBaseSyncClientProcess.performSingleFileRestore(CommandLineArgs args, ConcurrentLinkedQueue<TcpConnection> connections, ConcurrentHashMap<String, FileInfo> mapToTransfer, Semaphore semaphore, CountDownLatch completionLatch) protected voidBaseSyncClientProcess.scanDirectory(File directory, String basePath, List<FileInfo> files, boolean ignoreHiddenFiles, boolean ignoreSystemFiles) Recursively scans a directory and adds all files to the list. -
Uses of FileInfo in org.kendar.sync.lib.model
Methods in org.kendar.sync.lib.model that return FileInfo -
Uses of FileInfo in org.kendar.sync.lib.protocol
Methods in org.kendar.sync.lib.protocol that return FileInfoModifier and TypeMethodDescriptionFileDescriptorMessage.getFileInfo()FileEndMessage.getFileInfo()Methods in org.kendar.sync.lib.protocol that return types with arguments of type FileInfoModifier and TypeMethodDescriptionFileListMessage.getFiles()FileListResponseMessage.getFilesToTransfer()Methods in org.kendar.sync.lib.protocol with parameters of type FileInfoModifier and TypeMethodDescriptionvoidAdds a file to the list.voidFileListResponseMessage.addFileToTransfer(FileInfo file) Adds a file to the list of files to transfer.voidFileDescriptorMessage.setFileInfo(FileInfo fileInfo) voidFileEndMessage.setFileInfo(FileInfo fileInfo) Method parameters in org.kendar.sync.lib.protocol with type arguments of type FileInfoModifier and TypeMethodDescriptionvoidvoidFileListResponseMessage.setFilesToTransfer(List<FileInfo> filesToTransfer) Constructors in org.kendar.sync.lib.protocol with parameters of type FileInfoModifierConstructorDescriptionFileDescriptorMessage(FileInfo fileInfo) Creates a new file descriptor message.FileEndMessage(String relativePath, FileInfo fileInfo) Creates a new file end message.Constructor parameters in org.kendar.sync.lib.protocol with type arguments of type FileInfoModifierConstructorDescriptionFileListMessage(List<FileInfo> files, boolean isBackup, int partNumber, int totalParts) Creates a new file list message.FileListResponseMessage(List<FileInfo> filesToTransfer, List<String> filesToDelete, boolean isBackup, int partNumber, int totalParts) Creates a new file list response message. -
Uses of FileInfo in org.kendar.sync.lib.utils
Methods in org.kendar.sync.lib.utils that return types with arguments of type FileInfoModifier and TypeMethodDescriptionFileUtils.calculateFileDifferences(List<FileInfo> sourceFiles, List<FileInfo> targetFiles, BackupType backupType) Calculates the files that need to be transferred and deleted.Lists all files in a directory recursively.Methods in org.kendar.sync.lib.utils with parameters of type FileInfoModifier and TypeMethodDescriptionstatic StringFileUtils.getTargetPath(FileInfo file, String targetDir, BackupType backupType) Gets the target path for a file based on the backup type.Method parameters in org.kendar.sync.lib.utils with type arguments of type FileInfoModifier and TypeMethodDescriptionFileUtils.calculateFileDifferences(List<FileInfo> sourceFiles, List<FileInfo> targetFiles, BackupType backupType) Calculates the files that need to be transferred and deleted.