Index

$ A B C D E F G H I J L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

$

$fillValuesFrom(C) - Method in class io.github.astrapi69.file.create.model.FileInfo.FileInfoBuilder
Internal method to fill the builder with values from an existing `FileInfo` instance.

A

ALREADY_EXISTS - Enum constant in enum class io.github.astrapi69.file.create.model.FileCreationState
This state signals that the file already exists
appendLines(File, String...) - Static method in class io.github.astrapi69.file.write.LineAppender
Appends the given lines to the given File object
appendLines(File, String...) - Static method in class io.github.astrapi69.file.write.WriteFileExtensions
appendSystemtimeToFilename(File) - Static method in class io.github.astrapi69.file.rename.RenameFileExtensions
Returns the filename from the given file with the systemtime.
appendSystemtimeToFilename(File, Date) - Static method in class io.github.astrapi69.file.rename.RenameFileExtensions
Returns the filename from the given file with the systemtime.
appendSystemTimeToFilename(File) - Method in interface io.github.astrapi69.file.rename.api.Renameable
Returns the filename from the given file with the system time appended
appendSystemTimeToFilename(File, Date) - Method in interface io.github.astrapi69.file.rename.api.Renameable
Returns the filename from the given file with the specified date appended
apply(Integer, String) - Method in class io.github.astrapi69.file.modify.DeleteLinesByIndexInFile
Applies the deletion logic to the specified line.

B

build() - Method in class io.github.astrapi69.file.create.model.FileContentInfo.FileContentInfoBuilder
Builds the `FileContentInfo` object.
build() - Method in class io.github.astrapi69.file.create.model.FileInfo.FileInfoBuilder
Builds the `FileInfo` object.
build() - Method in class io.github.astrapi69.file.search.SearchFileAttributesBean.SearchFileAttributesBeanBuilder
Builds the SearchFileAttributesBean object.
builder() - Static method in class io.github.astrapi69.file.create.model.FileContentInfo
Returns a builder for constructing `FileContentInfo` objects.
builder() - Static method in class io.github.astrapi69.file.create.model.FileInfo
Returns a builder for constructing `FileInfo` objects.
builder() - Static method in class io.github.astrapi69.file.search.SearchFileAttributesBean
Returns a builder for constructing SearchFileAttributesBean objects.

C

canEqual(Object) - Method in class io.github.astrapi69.file.compare.FileCompareResultBean
Internal method for checking if another object can be considered equal to this one.
canEqual(Object) - Method in class io.github.astrapi69.file.compare.FileContentResultBean
 
canEqual(Object) - Method in class io.github.astrapi69.file.create.model.FileContentInfo
Internal method for checking equality with another object.
canEqual(Object) - Method in class io.github.astrapi69.file.create.model.FileInfo
Internal method for checking equality with another object.
canEqual(Object) - Method in class io.github.astrapi69.file.search.SearchFileAttributesBean
Internal method for checking equality with another object.
changeAllFilenameSuffix(File, String, String) - Static method in class io.github.astrapi69.file.rename.RenameFileExtensions
Changes all the Filenames with the new Suffix recursively.
changeAllFilenameSuffix(File, String, String, boolean) - Method in interface io.github.astrapi69.file.rename.api.Renameable
Changes all filenames with the specified suffix
changeAllFilenameSuffix(File, String, String, boolean) - Static method in class io.github.astrapi69.file.rename.RenameFileExtensions
Changes all the Filenames with the new Suffix recursively.
changeFilenameSuffix(File, String) - Method in interface io.github.astrapi69.file.rename.api.Renameable
Changes the suffix of a filename.
changeFilenameSuffix(File, String) - Static method in class io.github.astrapi69.file.rename.RenameFileExtensions
Changes the suffix from the Filename.
changeFilenameSuffix(File, String, boolean) - Method in interface io.github.astrapi69.file.rename.api.Renameable
Changes the suffix of the given file
changeFilenameSuffix(File, String, boolean) - Static method in class io.github.astrapi69.file.rename.RenameFileExtensions
Changes the suffix from the Filename.
checkFile(File) - Method in interface io.github.astrapi69.file.delete.api.Erasable
Checks if the File is a directory, exists, and is accessible
checkFile(File) - Static method in class io.github.astrapi69.file.delete.DeleteFileExtensions
Checks if the File is a directory, exists, and is accessible
checksum(String) - Method in class io.github.astrapi69.file.create.model.FileContentInfo.FileContentInfoBuilder
Sets the checksum of the file content.
compare - Variable in class io.github.astrapi69.file.compare.FileCompareResultBean
The compare file.
compare(IFileCompareResultBean, boolean, boolean, boolean, boolean, boolean) - Static method in class io.github.astrapi69.file.compare.CompareFileExtensions
Sets the flags in the FileCompareResultBean object according to the given boolean flag what to ignore.
compare(IFileContentResultBean, boolean, boolean, boolean, boolean, boolean, boolean) - Static method in class io.github.astrapi69.file.compare.CompareFileExtensions
Sets the flags in the FileContentResultBean object according to the given boolean flag what to ignore.
compareFileContentByBytes(File, File) - Static method in class io.github.astrapi69.file.compare.CompareFileExtensions
Compare file content for every single byte.
compareFileContentByLines(File, File) - Static method in class io.github.astrapi69.file.compare.CompareFileExtensions
Compare file content by lines.
CompareFileExtensions - Class in io.github.astrapi69.file.compare
The class CompareFileExtensions helps you to compare files.
compareFiles(File, File) - Static method in class io.github.astrapi69.file.compare.CompareFileExtensions
Compare files.
compareFiles(File, File, boolean) - Static method in class io.github.astrapi69.file.compare.CompareFileExtensions
Compare files.
compareFiles(File, File, boolean, boolean, boolean, boolean, boolean) - Static method in class io.github.astrapi69.file.compare.CompareFileExtensions
Compare files.
compareFiles(File, File, boolean, boolean, boolean, boolean, boolean, boolean) - Static method in class io.github.astrapi69.file.compare.CompareFileExtensions
Compare files.
compareFilesByAbsolutePath(File, File) - Static method in class io.github.astrapi69.file.compare.SimpleCompareFileExtensions
Compare files by absolute path.
compareFilesByChecksum(File, File, Algorithm) - Static method in class io.github.astrapi69.file.compare.SimpleCompareFileExtensions
Compare files by checksum with the algorithm Adler32.
compareFilesByChecksumAdler32(File, File) - Static method in class io.github.astrapi69.file.compare.SimpleCompareFileExtensions
Compare files by checksum with the algorithm Adler32.
compareFilesByChecksumCRC32(File, File) - Static method in class io.github.astrapi69.file.compare.SimpleCompareFileExtensions
Compare files by checksum with the algorithm CRC32.
compareFilesByContent(File, File) - Static method in class io.github.astrapi69.file.compare.SimpleCompareFileExtensions
Compare files by content.
compareFilesByExtension(File, File) - Static method in class io.github.astrapi69.file.compare.SimpleCompareFileExtensions
Compare files by extension.
compareFilesByLastModified(File, File) - Static method in class io.github.astrapi69.file.compare.SimpleCompareFileExtensions
Compare files by last modified.
compareFilesByLength(File, File) - Static method in class io.github.astrapi69.file.compare.SimpleCompareFileExtensions
Compare files by length.
compareFilesByName(File, File) - Static method in class io.github.astrapi69.file.compare.SimpleCompareFileExtensions
Compare files by name.
completeCompare(IFileCompareResultBean) - Static method in class io.github.astrapi69.file.compare.CompareFileExtensions
Completes the compare from the files encapsulated in the FileCompareResultBean.
concatenateAll(List<File>, File) - Static method in class io.github.astrapi69.file.modify.ModifyFileExtensions
Concatenates the content of the given list of text files into a single result text file
containsFile(File, File) - Method in interface io.github.astrapi69.file.search.api.Searchable
Checks if the parent directory contains the specified file by filename
containsFile(File, File) - Static method in class io.github.astrapi69.file.search.FileSearchExtensions
Checks if the given file contains only in the parent file, not in the subdirectories.
containsFile(File, String) - Method in interface io.github.astrapi69.file.search.api.Searchable
Checks if the parent directory contains a file matching the specified filename
containsFile(File, String) - Static method in class io.github.astrapi69.file.search.FileSearchExtensions
Checks if the given file contains in the parent file.
containsFileRecursive(File, File) - Static method in class io.github.astrapi69.file.search.FileSearchExtensions
Checks if the given file contains only in the parent file recursively.
content(byte[]) - Method in class io.github.astrapi69.file.create.model.FileContentInfo.FileContentInfoBuilder
Sets the binary content of the file.
Copyable - Interface in io.github.astrapi69.file.copy.api
Interface for copying files or directories
copyDirectory(File, File) - Method in interface io.github.astrapi69.file.copy.api.Copyable
Copies the given source directory to the given destination directory.
copyDirectory(File, File) - Static method in class io.github.astrapi69.file.copy.CopyDirectoryExtensions
Copies the given source directory to the given destination directory.
copyDirectory(File, File, boolean) - Static method in class io.github.astrapi69.file.copy.CopyDirectoryExtensions
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.
copyDirectory(Path, Path) - Method in interface io.github.astrapi69.file.copy.api.Copyable
Copies the given source directory to the destination directory
copyDirectory(Path, Path) - Static method in class io.github.astrapi69.file.copy.CopyDirectoryExtensions
Copies the given source directory to the destination directory
CopyDirectoryExtensions - Class in io.github.astrapi69.file.copy
The class CopyDirectoryExtensions helps you to copy directories
copyDirectoryWithFileFilter(File, File, FileFilter, boolean) - Static method in class io.github.astrapi69.file.copy.CopyDirectoryExtensions
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.
copyDirectoryWithFileFilter(File, File, FileFilter, FileFilter, boolean) - Static method in class io.github.astrapi69.file.copy.CopyDirectoryExtensions
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.
copyDirectoryWithFileFilter(File, File, FileFilter, FileFilter, Collection<File>, boolean) - Static method in class io.github.astrapi69.file.copy.CopyDirectoryExtensions
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.
copyDirectoryWithFilenameFilter(File, File, FilenameFilter, boolean) - Static method in class io.github.astrapi69.file.copy.CopyDirectoryExtensions
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.
copyDirectoryWithFilenameFilter(File, File, FilenameFilter, FilenameFilter, boolean) - Static method in class io.github.astrapi69.file.copy.CopyDirectoryExtensions
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.
copyFile(File, File) - Method in interface io.github.astrapi69.file.copy.api.Copyable
Copies the given source file to the destination directory
copyFile(File, File) - Static method in class io.github.astrapi69.file.copy.CopyFileExtensions
Copies the given source file to the given destination file.
copyFile(File, File, boolean) - Static method in class io.github.astrapi69.file.copy.CopyFileExtensions
Copies the given source file to the given destination file with the option to set the lastModified time from the given destination file.
copyFile(File, File, Charset, Charset, boolean) - Static method in class io.github.astrapi69.file.copy.CopyFileExtensions
Copies the given source file to the given destination file with the given source encodings and destination encodings.
copyFile(Path, Path) - Method in interface io.github.astrapi69.file.copy.api.Copyable
Copies the given source file to the destination directory path.
copyFile(Path, Path) - Static method in class io.github.astrapi69.file.copy.CopyFileExtensions
Copies the given source file to the destination file
CopyFileExtensions - Class in io.github.astrapi69.file.copy
The class CopyFileExtensions helps you to copy files.
copyFiles(Collection<File>, File, Charset, Charset, boolean) - Method in interface io.github.astrapi69.file.copy.api.Copyable
Copies the given source file to the given destination file with the given source encodings and destination encodings.
copyFiles(Collection<File>, File, Charset, Charset, boolean) - Static method in class io.github.astrapi69.file.copy.CopyFileExtensions
Copies the given source file to the given destination file with the given source encodings and destination encodings.
copyFiles(Collection<Path>, Path) - Method in interface io.github.astrapi69.file.copy.api.Copyable
Copies multiple files to the destination directory.
copyFiles(Collection<Path>, Path) - Static method in class io.github.astrapi69.file.copy.CopyFileExtensions
Copies multiple files to the destination directory
copyFileToDirectory(File, File) - Static method in class io.github.astrapi69.file.copy.CopyFileExtensions
Copies the given source file to the given destination directory.
copyFileToDirectory(File, File, boolean) - Static method in class io.github.astrapi69.file.copy.CopyFileExtensions
Copies the given source file to the given destination directory with the option to set the lastModified time from the given destination directory.
countAllFilesInDirectory(File, long, boolean) - Method in interface io.github.astrapi69.file.search.api.Searchable
Counts all files in a directory recursively, optionally including directories in the count
countAllFilesInDirectory(File, long, boolean) - Static method in class io.github.astrapi69.file.search.FileSearchExtensions
Counts all the files in a directory recursively.
countAllLines(File) - Static method in class io.github.astrapi69.file.read.ReadFileExtensions
Counts all lines in the specified file
Createable - Interface in io.github.astrapi69.file.create.api
The Createable interface provides methods for creating files and directories with a variety of configurations and options
CREATED - Enum constant in enum class io.github.astrapi69.file.create.model.FileCreationState
This state signals that the file was created

D

DEFAULT_USER_CONFIGURATION_DIRECTORY_NAME - Static variable in class io.github.astrapi69.file.system.SystemFileExtensions
Constant for the default configuration directory from the current user. current value:".config"
DEFAULT_USER_DOWNLOAD_DIRECTORY_NAME - Static variable in class io.github.astrapi69.file.system.SystemFileExtensions
Constant for the default download directory from the current user. current value:"Downloads"
DEFAULT_USER_TEMPORARY_DIRECTORY_NAME - Static variable in class io.github.astrapi69.file.system.SystemFileExtensions
Constant for the default temporary directory from the current user. current value:"tmp"
delete(File) - Method in interface io.github.astrapi69.file.delete.api.Erasable
Tries to delete the specified file or directory recursively if it is a directory
delete(File) - Static method in class io.github.astrapi69.file.delete.DeleteFileExtensions
Tries to delete the specified file or directory recursively if it is a directory
delete(Collection<File>) - Method in interface io.github.astrapi69.file.delete.api.Erasable
Tries to delete all given files in the collection.
delete(Collection<File>) - Static method in class io.github.astrapi69.file.delete.DeleteFileExtensions
Tries to delete all given files in the collection.
deleteAllFiles(File) - Method in interface io.github.astrapi69.file.delete.api.Erasable
Deletes the File and if it is a directory it deletes its sub-directories recursively.
deleteAllFiles(File) - Static method in class io.github.astrapi69.file.delete.DeleteFileExtensions
Deletes the File and if it is an directory it deletes his sub-directories recursively.
deleteAllFiles(Path) - Method in interface io.github.astrapi69.file.delete.api.Erasable
Deletes all files and directories recursively within the specified directory
deleteAllFiles(Path) - Static method in class io.github.astrapi69.file.delete.DeleteFileExtensions
Deletes all files and directories recursively within the specified directory
deleteAllFilesWithPrefix(File, String) - Method in interface io.github.astrapi69.file.delete.api.Erasable
Tries to delete all files that match the given prefix from the given source directory.
deleteAllFilesWithPrefix(File, String) - Static method in class io.github.astrapi69.file.delete.DeleteFileExtensions
Tries to delete all files that match to the given prefix from the given source directory.
deleteAllFilesWithSuffix(File, String) - Method in interface io.github.astrapi69.file.delete.api.Erasable
Deletes all files with the given suffix recursively.
deleteAllFilesWithSuffix(File, String) - Static method in class io.github.astrapi69.file.delete.DeleteFileExtensions
Deletes all files with the given suffix recursively.
deleteFile(File) - Method in interface io.github.astrapi69.file.delete.api.Erasable
Attempts to delete a specific file
deleteFile(File) - Static method in class io.github.astrapi69.file.delete.DeleteFileExtensions
Attempts to delete a specific file
DeleteFileExtensions - Class in io.github.astrapi69.file.delete
The class DeleteFileExtensions helps delete files, leveraging new functionalities from java.nio.file introduced in JDK 17 for optimized handling
deleteFiles(File) - Method in interface io.github.astrapi69.file.delete.api.Erasable
Tries to delete all files in the Directory.
deleteFiles(File) - Static method in class io.github.astrapi69.file.delete.DeleteFileExtensions
Tries to delete all files in the Directory.
deleteFilesWithFileFilter(File, FileFilter) - Method in interface io.github.astrapi69.file.delete.api.Erasable
Tries to delete all files that match the given includeFileFilter from the given source directory.
deleteFilesWithFileFilter(File, FileFilter) - Static method in class io.github.astrapi69.file.delete.DeleteFileExtensions
Tries to delete all files that match to the given includeFileFilter from the given source directory.
deleteFilesWithFileFilter(File, FileFilter, FileFilter) - Static method in class io.github.astrapi69.file.delete.DeleteFileExtensions
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.
deleteFilesWithFilenameFilter(File, FilenameFilter) - Method in interface io.github.astrapi69.file.delete.api.Erasable
Tries to delete all files that match the given includeFilenameFilter from the given source directory.
deleteFilesWithFilenameFilter(File, FilenameFilter) - Static method in class io.github.astrapi69.file.delete.DeleteFileExtensions
Tries to delete all files that match to the given includeFilenameFilter from the given source directory.
deleteFilesWithFilenameFilter(File, FilenameFilter, FilenameFilter) - Static method in class io.github.astrapi69.file.delete.DeleteFileExtensions
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.
DeleteLinesByIndexInFile - Class in io.github.astrapi69.file.modify
The class DeleteLinesByIndexInFile implements the FileChangeable interface to delete specific lines in a file based on a list of line indexes.
DeleteLinesByIndexInFile(List<Integer>) - Constructor for class io.github.astrapi69.file.modify.DeleteLinesByIndexInFile
Instantiates a new DeleteLinesByIndexInFile with the given list of line indexes to delete
directory(boolean) - Method in class io.github.astrapi69.file.create.model.FileInfo.FileInfoBuilder
Sets whether the file is a directory.
DirectoryAlreadyExistsException - Exception in io.github.astrapi69.file.exception
Exception that is thrown if an attempt is made to create a directory that already exists
DirectoryAlreadyExistsException() - Constructor for exception io.github.astrapi69.file.exception.DirectoryAlreadyExistsException
Constructs a new DirectoryAlreadyExistsException object
DirectoryAlreadyExistsException(String) - Constructor for exception io.github.astrapi69.file.exception.DirectoryAlreadyExistsException
Constructs a new DirectoryAlreadyExistsException with the specified detail message.
DirectoryAlreadyExistsException(String, Throwable) - Constructor for exception io.github.astrapi69.file.exception.DirectoryAlreadyExistsException
Constructs a new DirectoryAlreadyExistsException with the specified detail message and the Throwable.
DirectoryAlreadyExistsException(Throwable) - Constructor for exception io.github.astrapi69.file.exception.DirectoryAlreadyExistsException
Constructs a DirectoryAlreadyExistsException with the Throwable.
DirectoryCannotBeCreatedException - Exception in io.github.astrapi69.file.exception
Exception to be thrown if the directory cannot be created.
DirectoryCannotBeCreatedException() - Constructor for exception io.github.astrapi69.file.exception.DirectoryCannotBeCreatedException
Instantiates a new directory cannot be created exception.
DirectoryCannotBeCreatedException(String) - Constructor for exception io.github.astrapi69.file.exception.DirectoryCannotBeCreatedException
Instantiates a new directory cannot be created exception.
DirectoryCannotBeCreatedException(String, Throwable) - Constructor for exception io.github.astrapi69.file.exception.DirectoryCannotBeCreatedException
Instantiates a new directory cannot be created exception.
DirectoryCannotBeCreatedException(Throwable) - Constructor for exception io.github.astrapi69.file.exception.DirectoryCannotBeCreatedException
Instantiates a new directory cannot be created exception.
DirectoryCannotBeWrittenException - Exception in io.github.astrapi69.file.exception
Exception to be thrown if the directory cannot be created.
DirectoryCannotBeWrittenException() - Constructor for exception io.github.astrapi69.file.exception.DirectoryCannotBeWrittenException
Instantiates a new directory cannot be created exception.
DirectoryCannotBeWrittenException(String) - Constructor for exception io.github.astrapi69.file.exception.DirectoryCannotBeWrittenException
Instantiates a new directory cannot be created exception.
DirectoryCannotBeWrittenException(String, Throwable) - Constructor for exception io.github.astrapi69.file.exception.DirectoryCannotBeWrittenException
Instantiates a new directory cannot be created exception.
DirectoryCannotBeWrittenException(Throwable) - Constructor for exception io.github.astrapi69.file.exception.DirectoryCannotBeWrittenException
Instantiates a new directory cannot be created exception.
DirectoryFactory - Class in io.github.astrapi69.file.create
The class DirectoryFactory helps you to create directories
DirectoryHasNoContentException - Exception in io.github.astrapi69.file.exception
Exception if the directory has no content.
DirectoryHasNoContentException() - Constructor for exception io.github.astrapi69.file.exception.DirectoryHasNoContentException
Default constructor.
DirectoryHasNoContentException(String) - Constructor for exception io.github.astrapi69.file.exception.DirectoryHasNoContentException
Constructs a new DirectoryHasNoContentException with the specified detail message.
DirectoryHasNoContentException(String, Throwable) - Constructor for exception io.github.astrapi69.file.exception.DirectoryHasNoContentException
Constructs a new DirectoryHasNoContentException with the specified detail message and the Throwable.
DirectoryHasNoContentException(Throwable) - Constructor for exception io.github.astrapi69.file.exception.DirectoryHasNoContentException
Constructs a DirectoryHasNoContentException with the Throwable.
DirectoryStructureExtensions - Class in io.github.astrapi69.file.create
The class DirectoryStructureExtensions provides methods for get File infos from directory structures
DirectoryStructureFactory - Class in io.github.astrapi69.file.create
The class DirectoryStructureFactory helps you to create directory structures
download(URI) - Static method in class io.github.astrapi69.file.FileExtensions
Downloads Data from the given URI.

E

equals(Object) - Method in class io.github.astrapi69.file.compare.FileCompareResultBean
equals(Object) - Method in class io.github.astrapi69.file.compare.FileContentResultBean
 
equals(Object) - Method in class io.github.astrapi69.file.create.model.FileContentInfo
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in class io.github.astrapi69.file.create.model.FileInfo
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in class io.github.astrapi69.file.search.SearchFileAttributesBean
Indicates whether some other object is "equal to" this one.
Erasable - Interface in io.github.astrapi69.file.delete.api
Interface for delete files or directories

F

FAILED - Enum constant in enum class io.github.astrapi69.file.create.model.FileCreationState
This state signals that the file creation failed
FILE_SEPARATOR_PROPERTY_KEY - Static variable in class io.github.astrapi69.file.system.SystemPropertiesExtensions
Key for the file separator system property.
FileChangeable - Interface in io.github.astrapi69.file.modify.api
The interface FileChangeable is a BiFunction for modify files
FileCompareResultBean - Class in io.github.astrapi69.file.compare
The class FileCompareResultBean is pojo for comparing two files.
FileCompareResultBean(File, File) - Constructor for class io.github.astrapi69.file.compare.FileCompareResultBean
Instantiates a new file compare result bean.
FileContentInfo - Class in io.github.astrapi69.file.create.model
The class FileContentInfo represents information about file content, including checksum and binary data.
FileContentInfo() - Constructor for class io.github.astrapi69.file.create.model.FileContentInfo
Constructs a new empty `FileContentInfo`.
FileContentInfo(FileContentInfo.FileContentInfoBuilder<?, ?>) - Constructor for class io.github.astrapi69.file.create.model.FileContentInfo
Constructs a new `FileContentInfo` from the builder.
FileContentInfo(String, byte[]) - Constructor for class io.github.astrapi69.file.create.model.FileContentInfo
Constructs a new `FileContentInfo` with the given checksum and content.
FileContentInfo.FileContentInfoBuilder<C extends FileContentInfo,B extends FileContentInfo.FileContentInfoBuilder<C,B>> - Class in io.github.astrapi69.file.create.model
The builder class for constructing `FileContentInfo` objects.
FileContentInfoBuilder() - Constructor for class io.github.astrapi69.file.create.model.FileContentInfo.FileContentInfoBuilder
 
FileContentResultBean - Class in io.github.astrapi69.file.compare
Bean that tells if the content from the given files are equal.
FileContentResultBean(File, File) - Constructor for class io.github.astrapi69.file.compare.FileContentResultBean
Default constructor.
FileCreationState - Enum Class in io.github.astrapi69.file.create.model
The enum FileCreationState provides constants for the file creation state
FileDoesNotExistException - Exception in io.github.astrapi69.file.exception
This Exception is thrown when the file is not found or does not exist.
FileDoesNotExistException() - Constructor for exception io.github.astrapi69.file.exception.FileDoesNotExistException
Default constructor.
FileDoesNotExistException(String) - Constructor for exception io.github.astrapi69.file.exception.FileDoesNotExistException
Constructs a new FileDoesNotExistException with the specified detail message.
FileDoesNotExistException(String, Throwable) - Constructor for exception io.github.astrapi69.file.exception.FileDoesNotExistException
Constructs a new FileDoesNotExistException with the specified detail message and the Throwable.
FileDoesNotExistException(Throwable) - Constructor for exception io.github.astrapi69.file.exception.FileDoesNotExistException
Constructs a FileDoesNotExistException with the Throwable.
FileExtensions - Class in io.github.astrapi69.file
Utility class for the use with File object
FileFactory - Class in io.github.astrapi69.file.create
The class FileFactory provides utility methods for creating files
FileInfo - Class in io.github.astrapi69.file.create.model
The class FileInfo represents file information, including name, path, and directory flag.
FileInfo() - Constructor for class io.github.astrapi69.file.create.model.FileInfo
Constructs a new empty `FileInfo`.
FileInfo(FileInfo.FileInfoBuilder<?, ?>) - Constructor for class io.github.astrapi69.file.create.model.FileInfo
Constructs a new `FileInfo` from the builder.
FileInfo(File) - Constructor for class io.github.astrapi69.file.create.model.FileInfo
Constructs a new `FileInfo` from the given File object.
FileInfo(String, String, boolean) - Constructor for class io.github.astrapi69.file.create.model.FileInfo
Constructs a new `FileInfo` with the given name, path, and directory flag.
FileInfo.FileInfoBuilder<C extends FileInfo,B extends FileInfo.FileInfoBuilder<C,B>> - Class in io.github.astrapi69.file.create.model
The builder class for constructing `FileInfo` objects.
FileInfoBuilder() - Constructor for class io.github.astrapi69.file.create.model.FileInfo.FileInfoBuilder
 
FileIsADirectoryException - Exception in io.github.astrapi69.file.exception
Exception if the file is a directory.
FileIsADirectoryException() - Constructor for exception io.github.astrapi69.file.exception.FileIsADirectoryException
Default constructor.
FileIsADirectoryException(String) - Constructor for exception io.github.astrapi69.file.exception.FileIsADirectoryException
Constructs a new FileIsADirectoryException with the specified detail message.
FileIsADirectoryException(String, Throwable) - Constructor for exception io.github.astrapi69.file.exception.FileIsADirectoryException
Constructs a new FileIsADirectoryException with the specified detail message and the Throwable.
FileIsADirectoryException(Throwable) - Constructor for exception io.github.astrapi69.file.exception.FileIsADirectoryException
Constructs a FileIsADirectoryException with the Throwable.
FileIsNotADirectoryException - Exception in io.github.astrapi69.file.exception
Exception if the file is not a directory.
FileIsNotADirectoryException() - Constructor for exception io.github.astrapi69.file.exception.FileIsNotADirectoryException
Default constructor.
FileIsNotADirectoryException(String) - Constructor for exception io.github.astrapi69.file.exception.FileIsNotADirectoryException
Constructs a new FileIsNotADirectoryException with the specified detail message.
FileIsNotADirectoryException(String, Throwable) - Constructor for exception io.github.astrapi69.file.exception.FileIsNotADirectoryException
Constructs a new FileIsNotADirectoryException with the specified detail message and the Throwable.
FileIsNotADirectoryException(Throwable) - Constructor for exception io.github.astrapi69.file.exception.FileIsNotADirectoryException
Constructs a FileIsNotADirectoryException with the Throwable.
FileIsSecurityRestrictedException - Exception in io.github.astrapi69.file.exception
Exception if the file or directory is security restricted.
FileIsSecurityRestrictedException() - Constructor for exception io.github.astrapi69.file.exception.FileIsSecurityRestrictedException
Instantiates a new file is security restricted exception.
FileIsSecurityRestrictedException(String) - Constructor for exception io.github.astrapi69.file.exception.FileIsSecurityRestrictedException
Instantiates a new file is security restricted exception.
FileIsSecurityRestrictedException(String, Throwable) - Constructor for exception io.github.astrapi69.file.exception.FileIsSecurityRestrictedException
Instantiates a new file is security restricted exception.
FileIsSecurityRestrictedException(Throwable) - Constructor for exception io.github.astrapi69.file.exception.FileIsSecurityRestrictedException
Instantiates a new file is security restricted exception.
FileNotRenamedException - Exception in io.github.astrapi69.file.exception
Exception if the file could not be renamed.
FileNotRenamedException() - Constructor for exception io.github.astrapi69.file.exception.FileNotRenamedException
Default constructor.
FileNotRenamedException(String) - Constructor for exception io.github.astrapi69.file.exception.FileNotRenamedException
Constructs a new FileNotRenamedException with the specified detail message.
FileNotRenamedException(String, Throwable) - Constructor for exception io.github.astrapi69.file.exception.FileNotRenamedException
Constructs a new FileNotRenamedException with the specified detail message and the Throwable.
FileNotRenamedException(Throwable) - Constructor for exception io.github.astrapi69.file.exception.FileNotRenamedException
Constructs a FileNotRenamedException with the Throwable.
FileSearchExtensions - Class in io.github.astrapi69.file.search
The class FileSearchExtensions provides methods for searching in directories.
findAllFiles(File, String) - Method in interface io.github.astrapi69.file.search.api.Searchable
Finds files within a directory matching a specified search pattern (regex)
findAllFiles(File, String) - Static method in class io.github.astrapi69.file.search.FileSearchExtensions
Finds all files that match the search pattern.
findEqualFiles(File) - Static method in class io.github.astrapi69.file.compare.CompareFileExtensions
Find equal files.
findEqualFiles(File, boolean, boolean, boolean, boolean, boolean) - Static method in class io.github.astrapi69.file.compare.CompareFileExtensions
Find equal files.
findEqualFiles(File, File) - Static method in class io.github.astrapi69.file.compare.CompareFileExtensions
Find equal files from the given directories.
findEqualFiles(File, File, boolean, boolean, boolean, boolean, boolean) - Static method in class io.github.astrapi69.file.compare.CompareFileExtensions
Find equal files from the given directories.
findEqualFilesWithSameContent(File) - Static method in class io.github.astrapi69.file.compare.CompareFileExtensions
Compare files with the same content.
findEqualFilesWithSameContent(File, boolean, boolean, boolean, boolean, boolean, boolean) - Static method in class io.github.astrapi69.file.compare.CompareFileExtensions
Compare files with the same content.
findEqualFilesWithSameContent(File, File) - Static method in class io.github.astrapi69.file.compare.CompareFileExtensions
Find equal files from the given directories.
findEqualFilesWithSameContent(File, File, boolean, boolean, boolean, boolean, boolean, boolean) - Static method in class io.github.astrapi69.file.compare.CompareFileExtensions
Find equal files from the given directories.
findFiles(File, String) - Static method in class io.github.astrapi69.file.search.FileSearchExtensions
Finds all files that match the search pattern.
findFiles(File, Predicate<File>) - Method in interface io.github.astrapi69.file.search.api.Searchable
Searches for files in a directory matching a specified predicate
findFiles(File, Predicate<File>) - Static method in class io.github.astrapi69.file.search.FileSearchExtensions
List the directories from the given file(directory).
findFiles(File, Set<File>, FileFilter...) - Static method in class io.github.astrapi69.file.search.FileSearchExtensions
List the directories from the given file(directory).
findFiles(String, String[]) - Method in interface io.github.astrapi69.file.search.api.Searchable
Finds all files in a directory with the specified extensions
findFiles(String, String[]) - Static method in class io.github.astrapi69.file.search.FileSearchExtensions
Searches for files with the given extensions and adds them to a Vector.
findFilesRecursive(File, boolean, String) - Static method in class io.github.astrapi69.file.search.FileSearchExtensions
Finds all files that match the search pattern.
findFilesRecursive(File, String) - Static method in class io.github.astrapi69.file.search.FileSearchExtensions
Finds all files that match the search pattern.
findFilesRecursive(File, Predicate<File>) - Method in interface io.github.astrapi69.file.search.api.Searchable
Recursively searches for files in a directory matching a specified predicate
findFilesRecursive(File, Predicate<File>) - Static method in class io.github.astrapi69.file.search.FileSearchExtensions
List the directories from the given file(directory).
findFilesWithFilter(File, String...) - Static method in class io.github.astrapi69.file.search.FileSearchExtensions
Finds all files that match the given extension.
findFilesWithPrefixAndExtension(File, String, String) - Static method in class io.github.astrapi69.file.search.FileSearchExtensions
Finds all files in the specified directory that match the given prefix and file extension.
findFilesWithPrefixAndExtensionRecursive(File, String, String) - Method in interface io.github.astrapi69.file.search.api.Searchable
Finds all files in the specified directory and subdirectories that match the given prefix and extension
findFilesWithPrefixAndExtensionRecursive(File, String, String) - Static method in class io.github.astrapi69.file.search.FileSearchExtensions
Finds all files recursively in the specified directory that match the given prefix and file extension.
findLineIndex(File, String) - Static method in class io.github.astrapi69.file.search.FileSearchExtensions
Finds the index of the line in a File object that starts with the given string
forceToMoveFile(File, File) - Method in interface io.github.astrapi69.file.rename.api.Renameable
Moves the specified source file to the given destination file
forceToMoveFile(File, File) - Static method in class io.github.astrapi69.file.rename.RenameFileExtensions
Moves the given source file to the given destination file.
fromFile(File) - Method in interface io.github.astrapi69.file.read.api.Readable
Reads the given file with UTF-8 encoding and returns the content as String
fromFile(File) - Static method in class io.github.astrapi69.file.read.ReadFileExtensions
Reads the given file with UTF-8 encoding and returns the content as String
fromFile(File, Charset) - Method in interface io.github.astrapi69.file.read.api.Readable
Reads the given file with the specified encoding and returns the content as String
fromFile(File, Charset) - Static method in class io.github.astrapi69.file.read.ReadFileExtensions
Reads the given file with the specified encoding and returns the content as String

G

getAbsolutePath(File, boolean) - Static method in class io.github.astrapi69.file.search.PathFinder
Gets the absolute path.
getAbsolutePathEquality() - Method in interface io.github.astrapi69.file.compare.api.IFileCompareResultBean
Gets the absolute path equality.
getAbsolutePathEquality() - Method in class io.github.astrapi69.file.compare.FileCompareResultBean
Gets the absolute path equality.
getAbsolutPathWithoutFilename(File) - Static method in class io.github.astrapi69.file.FileExtensions
Gets the absolut path without the filename.
getAllFilesFromDir(File) - Method in interface io.github.astrapi69.file.search.api.Searchable
Retrieves all files from a directory
getAllFilesFromDir(File) - Static method in class io.github.astrapi69.file.search.FileSearchExtensions
Gets the all files from directory.
getAllFilesFromDirRecursive(File) - Method in interface io.github.astrapi69.file.search.api.Searchable
Retrieves all files from a directory recursively
getAllFilesFromDirRecursive(File) - Static method in class io.github.astrapi69.file.search.FileSearchExtensions
Gets all the files from directory recursive.
getAllFilesFromDirRecursive(File, boolean) - Static method in class io.github.astrapi69.file.search.FileSearchExtensions
Gets all the files from directory recursive.
getChecksum() - Method in class io.github.astrapi69.file.create.model.FileContentInfo
Retrieves the checksum of the file content.
getContent() - Method in class io.github.astrapi69.file.create.model.FileContentInfo
Retrieves the binary content of the file.
getContentEquality() - Method in interface io.github.astrapi69.file.compare.api.IFileContentResultBean
Gets the content equality.
getContentEquality() - Method in class io.github.astrapi69.file.compare.FileContentResultBean
Gets the content equality.
getContentType(File) - Static method in class io.github.astrapi69.file.FileExtensions
Gets the content type from the given file object
getCurrentAbsolutPathWithoutDotAndSlash() - Static method in class io.github.astrapi69.file.FileExtensions
Gets the current absolut path without the dot and slash.
getCurrentDirectory() - Static method in class io.github.astrapi69.file.search.PathFinder
Gets the current directory
getFile() - Method in enum class io.github.astrapi69.file.create.model.FileCreationState
Gets file
getFilecontentAsByteObjectArray(File) - Static method in class io.github.astrapi69.file.read.ReadFileExtensions
Gets the file content as Byte array from the given file
getFileContentInfos(File) - Static method in class io.github.astrapi69.file.create.DirectoryStructureExtensions
Creates a list of FileContentInfo objects from the given directory
getFileExtensionEquality() - Method in interface io.github.astrapi69.file.compare.api.IFileCompareResultBean
Gets the file extension equality.
getFileExtensionEquality() - Method in class io.github.astrapi69.file.compare.FileCompareResultBean
Gets the file extension equality.
getFileLengthInKilobytes(File) - Static method in class io.github.astrapi69.file.search.FileSearchExtensions
Gets the file length from the given file in Kilobytes.
getFileLengthInMegabytes(File) - Static method in class io.github.astrapi69.file.search.FileSearchExtensions
Gets the file length from the given file in Megabytes.
getFileSeparator() - Static method in class io.github.astrapi69.file.system.SystemPropertiesExtensions
Retrieves the system file separator character.
getFileToCompare() - Method in interface io.github.astrapi69.file.compare.api.IFileCompareResultBean
Gets the file to compare.
getFileToCompare() - Method in class io.github.astrapi69.file.compare.FileCompareResultBean
Gets the file to compare.
getJavaClassPath() - Static method in class io.github.astrapi69.file.system.SystemPropertiesExtensions
Retrieves the Java class path.
getJavaHome() - Static method in class io.github.astrapi69.file.system.SystemPropertiesExtensions
Retrieves the path of the installed Java home directory.
getJavaHomeDir() - Static method in class io.github.astrapi69.file.system.SystemFileExtensions
Gets the installation directory for Java Runtime Environment (JRE) from the system as File object
getJavaIoTmpdir() - Static method in class io.github.astrapi69.file.system.SystemPropertiesExtensions
Retrieves the path for the Java temporary directory.
getJavaVendor() - Static method in class io.github.astrapi69.file.system.SystemPropertiesExtensions
Retrieves the name of the JRE vendor.
getJavaVendorUrl() - Static method in class io.github.astrapi69.file.system.SystemPropertiesExtensions
Retrieves the URL of the JRE vendor.
getJavaVersion() - Static method in class io.github.astrapi69.file.system.SystemPropertiesExtensions
Retrieves the JRE version.
getLastModifiedEquality() - Method in interface io.github.astrapi69.file.compare.api.IFileCompareResultBean
Gets the last modified equality.
getLastModifiedEquality() - Method in class io.github.astrapi69.file.compare.FileCompareResultBean
Gets the last modified equality.
getLengthEquality() - Method in interface io.github.astrapi69.file.compare.api.IFileCompareResultBean
Gets the length equality.
getLengthEquality() - Method in class io.github.astrapi69.file.compare.FileCompareResultBean
Gets the length equality.
getLineSeparator() - Static method in class io.github.astrapi69.file.system.SystemPropertiesExtensions
Retrieves the system line separator character.
getName() - Method in class io.github.astrapi69.file.create.model.FileInfo
Retrieves the name of the file.
getNameEquality() - Method in interface io.github.astrapi69.file.compare.api.IFileCompareResultBean
Gets the name equality.
getNameEquality() - Method in class io.github.astrapi69.file.compare.FileCompareResultBean
Gets the name equality.
getOsArchitecture() - Static method in class io.github.astrapi69.file.system.SystemPropertiesExtensions
Retrieves the operating system architecture.
getOsName() - Static method in class io.github.astrapi69.file.system.SystemPropertiesExtensions
Retrieves the operating system name.
getOsVersion() - Static method in class io.github.astrapi69.file.system.SystemPropertiesExtensions
Retrieves the operating system version.
getPath() - Method in class io.github.astrapi69.file.create.model.FileInfo
Retrieves the path of the file.
getPathSeparator() - Static method in class io.github.astrapi69.file.system.SystemPropertiesExtensions
Retrieves the system path separator character used in java.class.path.
getProjectDirectory() - Static method in class io.github.astrapi69.file.search.PathFinder
Gets the project directory.
getProjectDirectory(File) - Static method in class io.github.astrapi69.file.search.PathFinder
Gets the project directory.
getRelativePath(File, String...) - Static method in class io.github.astrapi69.file.search.PathFinder
Gets the file or directory from the given parent File object and the relative path given over the list as String objects.
getRelativePathTo(File, String, String, String) - Static method in class io.github.astrapi69.file.search.PathFinder
Gets the file or directory from the given parent File object and the relative path given over the list as String objects.
getRelativePathTo(File, List<String>) - Static method in class io.github.astrapi69.file.search.PathFinder
Gets the file or directory from the given parent File object and the relative path given over the list as String objects.
getRootDir() - Static method in class io.github.astrapi69.file.system.SystemFileExtensions
Gets the root directory from the system as File object
getRootDirectory(File) - Method in interface io.github.astrapi69.file.search.api.Searchable
Retrieves the root directory of the given file object
getRootDirectory(File) - Static method in class io.github.astrapi69.file.search.FileSearchExtensions
Gets the root directory from the given File object
getSearchFilePattern(String...) - Static method in class io.github.astrapi69.file.search.FileSearchExtensions
Gets a regex search file pattern that can be used for searching files with a Matcher.
getSourceFile() - Method in interface io.github.astrapi69.file.compare.api.IFileCompareResultBean
Gets the source file.
getSourceFile() - Method in class io.github.astrapi69.file.compare.FileCompareResultBean
Gets the source file.
getSrcMainJavaDir() - Static method in class io.github.astrapi69.file.search.PathFinder
Gets the src main java dir.
getSrcMainJavaDir(File) - Static method in class io.github.astrapi69.file.search.PathFinder
Gets the src main java dir.
getSrcMainResourcesDir() - Static method in class io.github.astrapi69.file.search.PathFinder
Gets the src main resources dir.
getSrcMainResourcesDir(File) - Static method in class io.github.astrapi69.file.search.PathFinder
Gets the src main resources dir.
getSrcTestJavaDir() - Static method in class io.github.astrapi69.file.search.PathFinder
Gets the src test java dir.
getSrcTestJavaDir(File) - Static method in class io.github.astrapi69.file.search.PathFinder
Gets the src test java dir.
getSrcTestResourcesDir() - Static method in class io.github.astrapi69.file.search.PathFinder
Gets the src test resources dir.
getSrcTestResourcesDir(File) - Static method in class io.github.astrapi69.file.search.PathFinder
Gets the src test resources dir.
getTempDir() - Static method in class io.github.astrapi69.file.system.SystemFileExtensions
Gets the temporary directory from the system as File object.
getUserConfigurationDir() - Static method in class io.github.astrapi69.file.system.SystemFileExtensions
Gets the users configuration directory from the system as File object
getUserConfigurationDir(String) - Static method in class io.github.astrapi69.file.system.SystemFileExtensions
Gets the users configuration directory from the system as File object
getUserDownloadsDir() - Static method in class io.github.astrapi69.file.system.SystemFileExtensions
Gets the users downloads directory from the system as File object
getUserDownloadsDir(String) - Static method in class io.github.astrapi69.file.system.SystemFileExtensions
Gets the users downloads directory from the system as File object
getUserHome() - Static method in class io.github.astrapi69.file.system.SystemPropertiesExtensions
Retrieves the user home directory.
getUserHomeDir() - Static method in class io.github.astrapi69.file.system.SystemFileExtensions
Gets the user home directory from the system as File object
getUserName() - Static method in class io.github.astrapi69.file.system.SystemPropertiesExtensions
Retrieves the user name.
getUserTempDir() - Static method in class io.github.astrapi69.file.system.SystemFileExtensions
Gets the users temporary directory from the system as File object
getUserTempDir(String) - Static method in class io.github.astrapi69.file.system.SystemFileExtensions
Gets the users temporary directory from the system as File object
getUserWorkingDir() - Static method in class io.github.astrapi69.file.system.SystemFileExtensions
Gets the user working directory from the system as File object
getUserWorkingDirectory() - Static method in class io.github.astrapi69.file.system.SystemPropertiesExtensions
Retrieves the user working directory.
getWindowsRootDriveDir(char) - Static method in class io.github.astrapi69.file.system.SystemFileExtensions
Gets the drive directory from the given drive letter as Optional of File object.

H

hashCode() - Method in class io.github.astrapi69.file.compare.FileCompareResultBean
hashCode() - Method in class io.github.astrapi69.file.compare.FileContentResultBean
 
hashCode() - Method in class io.github.astrapi69.file.create.model.FileContentInfo
Returns a hash code value for the object.
hashCode() - Method in class io.github.astrapi69.file.create.model.FileInfo
Returns a hash code value for the object.
hashCode() - Method in class io.github.astrapi69.file.search.SearchFileAttributesBean
Returns a hash code value for the object.

I

IFileCompareResultBean - Interface in io.github.astrapi69.file.compare.api
The Interface IFileCompareResultBean.
IFileContentResultBean - Interface in io.github.astrapi69.file.compare.api
The Interface IFileContentResultBean.
ignoreContentEquality(boolean) - Method in class io.github.astrapi69.file.search.SearchFileAttributesBean.SearchFileAttributesBeanBuilder
Sets the flag indicating whether content equality should be ignored.
ignoreExtensionEquality(boolean) - Method in class io.github.astrapi69.file.search.SearchFileAttributesBean.SearchFileAttributesBeanBuilder
Sets the flag indicating whether extension equality should be ignored.
ignoreLastModified(boolean) - Method in class io.github.astrapi69.file.search.SearchFileAttributesBean.SearchFileAttributesBeanBuilder
Sets the flag indicating whether last modified attribute should be ignored.
ignoreLengthEquality(boolean) - Method in class io.github.astrapi69.file.search.SearchFileAttributesBean.SearchFileAttributesBeanBuilder
Sets the flag indicating whether length equality should be ignored.
ignoreNameEquality(boolean) - Method in class io.github.astrapi69.file.search.SearchFileAttributesBean.SearchFileAttributesBeanBuilder
Sets the flag indicating whether name equality should be ignored.
io.github.astrapi69.file - package io.github.astrapi69.file
This package contains helper classes for handling File objects
io.github.astrapi69.file.compare - package io.github.astrapi69.file.compare
Provides classes for comparison of files or directories
io.github.astrapi69.file.compare.api - package io.github.astrapi69.file.compare.api
Provides interfaces for comparison from files or directories
io.github.astrapi69.file.copy - package io.github.astrapi69.file.copy
Provides classes for copying of files or directories
io.github.astrapi69.file.copy.api - package io.github.astrapi69.file.copy.api
 
io.github.astrapi69.file.create - package io.github.astrapi69.file.create
Provides classes for creating files or directories
io.github.astrapi69.file.create.api - package io.github.astrapi69.file.create.api
 
io.github.astrapi69.file.create.model - package io.github.astrapi69.file.create.model
 
io.github.astrapi69.file.delete - package io.github.astrapi69.file.delete
Provides classes for deletion of files or directories
io.github.astrapi69.file.delete.api - package io.github.astrapi69.file.delete.api
 
io.github.astrapi69.file.exception - package io.github.astrapi69.file.exception
Provides exception classes for possible exceptions that can be thrown by file operations
io.github.astrapi69.file.merge - package io.github.astrapi69.file.merge
Provides a class for simple merge of directories
io.github.astrapi69.file.merge.strategy - package io.github.astrapi69.file.merge.strategy
 
io.github.astrapi69.file.modify - package io.github.astrapi69.file.modify
Provides classes for modification of files or directories
io.github.astrapi69.file.modify.api - package io.github.astrapi69.file.modify.api
Provides interfaces for modification of files or directories
io.github.astrapi69.file.read - package io.github.astrapi69.file.read
Provides classes for reading files
io.github.astrapi69.file.read.api - package io.github.astrapi69.file.read.api
 
io.github.astrapi69.file.rename - package io.github.astrapi69.file.rename
Provides classes for renaming files or directories
io.github.astrapi69.file.rename.api - package io.github.astrapi69.file.rename.api
 
io.github.astrapi69.file.search - package io.github.astrapi69.file.search
Provides classes for searching files or directories
io.github.astrapi69.file.search.api - package io.github.astrapi69.file.search.api
 
io.github.astrapi69.file.sort - package io.github.astrapi69.file.sort
Provides classes for sort the lines of files with the given comparator
io.github.astrapi69.file.system - package io.github.astrapi69.file.system
Provides classes for get system or user files and the common system properties
io.github.astrapi69.file.write - package io.github.astrapi69.file.write
Provides classes for writing data in files or directories
io.github.astrapi69.file.write.api - package io.github.astrapi69.file.write.api
 
io.github.astrapisixtynine.file.worker - module io.github.astrapisixtynine.file.worker
The MIT License Copyright (C) 2015 Asterios Raptis Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
isDirectory() - Method in class io.github.astrapi69.file.create.model.FileInfo
Checks if the file is a directory.
isIgnoreContentEquality() - Method in class io.github.astrapi69.file.search.SearchFileAttributesBean
Retrieves the flag indicating whether content equality should be ignored.
isIgnoreExtensionEquality() - Method in class io.github.astrapi69.file.search.SearchFileAttributesBean
Retrieves the flag indicating whether extension equality should be ignored.
isIgnoreLastModified() - Method in class io.github.astrapi69.file.search.SearchFileAttributesBean
Retrieves the flag indicating whether last modified attribute should be ignored.
isIgnoreLengthEquality() - Method in class io.github.astrapi69.file.search.SearchFileAttributesBean
Retrieves the flag indicating whether length equality should be ignored.
isIgnoreNameEquality() - Method in class io.github.astrapi69.file.search.SearchFileAttributesBean
Retrieves the flag indicating whether name equality should be ignored.
isOpen(File) - Static method in class io.github.astrapi69.file.FileExtensions
Not yet implemented.

J

JAVA_CLASS_PATH_PROPERTY_KEY - Static variable in class io.github.astrapi69.file.system.SystemPropertiesExtensions
Key for the Java class path system property.
JAVA_HOME_PROPERTY_KEY - Static variable in class io.github.astrapi69.file.system.SystemPropertiesExtensions
Key for the Java home directory system property.
JAVA_IO_TMPDIR_PROPERTY_KEY - Static variable in class io.github.astrapi69.file.system.SystemPropertiesExtensions
Key for the Java temporary directory system property.
JAVA_VENDOR_PROPERTY_KEY - Static variable in class io.github.astrapi69.file.system.SystemPropertiesExtensions
Key for the Java vendor system property.
JAVA_VENDOR_URL_PROPERTY_KEY - Static variable in class io.github.astrapi69.file.system.SystemPropertiesExtensions
Key for the Java vendor URL system property.
JAVA_VERSION_PROPERTY_KEY - Static variable in class io.github.astrapi69.file.system.SystemPropertiesExtensions
Key for the Java version system property.

L

LINE_SEPARATOR_PROPERTY_KEY - Static variable in class io.github.astrapi69.file.system.SystemPropertiesExtensions
Key for the line separator system property.
LineAppender - Class in io.github.astrapi69.file.write
The LineAppender class provides utility methods for appending lines of text to a file.
listDirs(File) - Static method in class io.github.astrapi69.file.search.FileSearchExtensions
List the directories from the given file(directory).

M

match(String, String[]) - Static method in class io.github.astrapi69.file.search.FileSearchExtensions
Checks the given String matches the given suffixes.
merge(File, File...) - Static method in class io.github.astrapi69.file.merge.MergeDirectoryExtensions
Merge the given directories to merge to the given target directory
MergeDirectoryExtensions - Class in io.github.astrapi69.file.merge
The class MergeDirectoryExtensions provides methods for simple merge of directories
MergeStrategy - Enum Class in io.github.astrapi69.file.merge.strategy
This enum class defines strategies for merge directories
mkParentDirs(File) - Method in interface io.github.astrapi69.file.create.api.Createable
Creates parent directories for the given file if they do not already exist
mkParentDirs(File) - Static method in class io.github.astrapi69.file.create.DirectoryFactory
Creates a new parent directories if not existing for the given file
modifyFile(Path, FileChangeable) - Static method in class io.github.astrapi69.file.modify.ModifyFileExtensions
Modifies the input file line by line and writes the modification in the same file
modifyFile(Path, Charset, FileChangeable) - Static method in class io.github.astrapi69.file.modify.ModifyFileExtensions
Modifies the input file line by line and writes the modification in the same file
modifyFile(Path, Path, FileChangeable) - Static method in class io.github.astrapi69.file.modify.ModifyFileExtensions
Modifies the input file line by line and writes the modification in the new output file
modifyFile(Path, Path, Charset, FileChangeable) - Static method in class io.github.astrapi69.file.modify.ModifyFileExtensions
Modifies the input file line by line and writes the modification in the new output file.
ModifyFileExtensions - Class in io.github.astrapi69.file.modify
The class ModifyFileExtensions provides methods for modifying files
moveFile(File, File) - Method in interface io.github.astrapi69.file.rename.api.Renameable
Moves the specified source file to the given destination directory
moveFile(File, File) - Static method in class io.github.astrapi69.file.rename.RenameFileExtensions
Moves the given source file to the destination Directory.

N

name(String) - Method in class io.github.astrapi69.file.create.model.FileInfo.FileInfoBuilder
Sets the name of the file.
newBackupOf(File, Charset, Charset) - Method in interface io.github.astrapi69.file.copy.api.Copyable
Creates a backup file in the same directory with the same name of the given file and with the extension of '*.bak'.
newBackupOf(File, Charset, Charset) - Static method in class io.github.astrapi69.file.copy.CopyFileExtensions
Creates a backup file in the same directory with the same name of the given file and with the extension of '*.bak'.
newBackupOf(Path) - Method in interface io.github.astrapi69.file.copy.api.Copyable
Creates a backup file with ".bak" extension in the same directory as the original path.
newBackupOf(Path) - Static method in class io.github.astrapi69.file.copy.CopyFileExtensions
Creates a backup file with ".bak" extension in the same directory as the original file
newDirectories(Path, FileAttribute<?>...) - Method in interface io.github.astrapi69.file.create.api.Createable
Creates new directories from the given path and optional file attributes
newDirectories(Path, FileAttribute<?>...) - Static method in class io.github.astrapi69.file.create.DirectoryFactory
Creates a new directory from the given Path object and optional FileAttribute
newDirectories(Collection<File>) - Method in interface io.github.astrapi69.file.create.api.Createable
Creates the directories
newDirectories(Collection<File>) - Static method in class io.github.astrapi69.file.create.DirectoryFactory
Creates the directories.
newDirectoriesQuietly(Path, FileAttribute<?>...) - Static method in class io.github.astrapi69.file.create.DirectoryFactory
Creates a new directory from the given Path object quietly without throwing exceptions
newDirectory(File) - Method in interface io.github.astrapi69.file.create.api.Createable
Creates a new directory from the given File object
newDirectory(File) - Static method in class io.github.astrapi69.file.create.DirectoryFactory
Creates a new directory from the given File object
newDirectory(File, String) - Method in interface io.github.astrapi69.file.create.api.Createable
Factory method for creating the new directory as File objects if it does not exist
newDirectory(File, String) - Static method in class io.github.astrapi69.file.create.DirectoryFactory
Factory method for creating the new directory as File objects if it does not exist
newDirectory(String) - Method in interface io.github.astrapi69.file.create.api.Createable
Creates a new directory from the specified absolute path
newDirectory(String) - Static method in class io.github.astrapi69.file.create.DirectoryFactory
Factory method that creates a new File object from the given absolute path as String object
newDirectory(String, String) - Static method in class io.github.astrapi69.file.create.DirectoryFactory
Creates a new directory under the given parent directory and directory name
newDirectory(Path, FileAttribute<?>...) - Method in interface io.github.astrapi69.file.create.api.Createable
Creates a new directory from the given path and optional file attributes
newDirectory(Path, FileAttribute<?>...) - Static method in class io.github.astrapi69.file.create.DirectoryFactory
Creates a new directory from the given Path object and the optional FileAttribute.

Note: this method decorates the Files.createDirectory(Path, FileAttribute...) and returns if the directory is created or not.
newDirectoryQuietly(String) - Static method in class io.github.astrapi69.file.create.DirectoryFactory
Factory method that creates a new File object, if the given boolean flag is true a new empty file will be created on the file system
newDirectoryQuietly(String, String) - Static method in class io.github.astrapi69.file.create.DirectoryFactory
Factory method for creating the new directory as File objects if it is not exists.
newDirectoryQuietly(Path, FileAttribute<?>...) - Static method in class io.github.astrapi69.file.create.DirectoryFactory
Creates a new directory from the given Path object and the optional FileAttribute.

Note: this method decorates the Files.createDirectory(Path, FileAttribute...) and returns if the directory is created or not.
newDirectoryStructure(File, String...) - Static method in class io.github.astrapi69.file.create.DirectoryStructureFactory
Factory method for create an initial directory structure
newDirectoryStructure(File, Collection<String>) - Static method in class io.github.astrapi69.file.create.DirectoryStructureFactory
Factory method for create an initial directory structure
newDirectoryStructure(String, String...) - Static method in class io.github.astrapi69.file.create.DirectoryStructureFactory
Factory method for create an initial directory structure
newDirectoryStructure(String, Collection<String>) - Static method in class io.github.astrapi69.file.create.DirectoryStructureFactory
Factory method for create an initial directory structure
newDirectoryStructure(Collection<FileContentInfo>) - Static method in class io.github.astrapi69.file.create.DirectoryStructureFactory
Factory method for create an initial directory structure that can contain also files with content
newFile(FileInfo) - Static method in class io.github.astrapi69.file.create.FileFactory
Factory method for creating the new File from the given FileInfo object
newFile(File) - Method in interface io.github.astrapi69.file.create.api.Createable
Factory method that creates a new empty File if it does not exist, otherwise it leaves the file as it is
newFile(File) - Static method in class io.github.astrapi69.file.create.FileFactory
Factory method that creates a new empty File if it does not exist, otherwise it leaves the file as it is
newFile(File, String) - Method in interface io.github.astrapi69.file.create.api.Createable
Creates a new file in the specified parent directory with the given filename
newFile(File, String) - Static method in class io.github.astrapi69.file.create.FileFactory
Creates a new File object in the specified directory if it does not exist
newFile(String) - Method in interface io.github.astrapi69.file.create.api.Createable
Creates a new file from the specified absolute path
newFile(String) - Static method in class io.github.astrapi69.file.create.FileFactory
Factory method that creates a new File object, if the given boolean flag is true a new empty file will be created on the file system
newFile(String, boolean) - Method in interface io.github.astrapi69.file.create.api.Createable
Creates a new file from the specified absolute path, creating it if it does not exist
newFile(String, boolean) - Static method in class io.github.astrapi69.file.create.FileFactory
Creates a new File object; if the specified flag is true, an empty file is created on the file system
newFile(String, String) - Static method in class io.github.astrapi69.file.create.FileFactory
Factory method for creating the new File if it is not exists.
newFileQuietly(FileInfo) - Static method in class io.github.astrapi69.file.create.FileFactory
Factory method for creating the new File from the given FileInfo object
newFileQuietly(File) - Static method in class io.github.astrapi69.file.create.FileFactory
Factory method that creates a new empty File if it does not exist, otherwise it leaves the file as it is
newFileQuietly(File, String) - Static method in class io.github.astrapi69.file.create.FileFactory
Factory method for creating the new File object if it does not exist
newFileQuietly(String) - Static method in class io.github.astrapi69.file.create.FileFactory
Factory method that creates a new File object, if the given boolean flag is true a new empty file will be created on the file system
newFileQuietly(String, boolean) - Static method in class io.github.astrapi69.file.create.FileFactory
Creates a new File object; if the specified flag is true, an empty file is created on the file system
newFileQuietly(String, String) - Static method in class io.github.astrapi69.file.create.FileFactory
Factory method for creating the new File if it is not exists.
newFiles(Collection<File>) - Method in interface io.github.astrapi69.file.create.api.Createable
Creates all files in the collection as empty files if they do not exist, otherwise leaves them as they are
newFiles(Collection<File>) - Static method in class io.github.astrapi69.file.create.FileFactory
Creates all files in the collection as empty files if they do not exist, otherwise leaves them as they are
newFilesQuietly(Collection<File>) - Static method in class io.github.astrapi69.file.create.FileFactory
Creates all files in the collection as empty files if they do not exist, otherwise leaves them as they are
newTempDir(String, FileAttribute<?>...) - Static method in class io.github.astrapi69.file.create.DirectoryFactory
Creates a new temporary directory from the given String object and the optional file attributes
newTempDir(Path, String, FileAttribute<?>...) - Static method in class io.github.astrapi69.file.create.DirectoryFactory
Creates a new temporary directory from the given Path object, the given String object and the optional file attributes
newTempDirectory(String, FileAttribute<?>...) - Static method in class io.github.astrapi69.file.create.DirectoryFactory
Creates a new temporary directory from the given String object and the optional file attributes
newTempDirectory(Path, String, FileAttribute<?>...) - Static method in class io.github.astrapi69.file.create.DirectoryFactory
Creates a new temporary directory from the given Path object, the given String object and the optional file attributes

O

OS_ARCH_PROPERTY_KEY - Static variable in class io.github.astrapi69.file.system.SystemPropertiesExtensions
Key for the OS architecture system property.
OS_NAME_PROPERTY_KEY - Static variable in class io.github.astrapi69.file.system.SystemPropertiesExtensions
Key for the OS name system property.
OS_VERSION_PROPERTY_KEY - Static variable in class io.github.astrapi69.file.system.SystemPropertiesExtensions
Key for the OS version system property.

P

path(String) - Method in class io.github.astrapi69.file.create.model.FileInfo.FileInfoBuilder
Sets the path of the file.
PATH_SEPARATOR_PROPERTY_KEY - Static variable in class io.github.astrapi69.file.system.SystemPropertiesExtensions
Key for the path separator system property.
PathFinder - Class in io.github.astrapi69.file.search
The class PathFinder is a helper class for getting source folders from maven projects.
PENDING - Enum constant in enum class io.github.astrapi69.file.create.model.FileCreationState
This state signals that the file creation is pending

R

Readable - Interface in io.github.astrapi69.file.read.api
The interface Readable provides methods for reading file contents
readAllLines(File) - Method in interface io.github.astrapi69.file.read.api.Readable
Reads all lines from the specified file into a list
ReadFileExtensions - Class in io.github.astrapi69.file.read
The class ReadFileExtensions helps in reading files.
readFileToBytearray(File) - Static method in class io.github.astrapi69.file.read.ReadFileExtensions
Reads the given file to a byte array
readHeadLine(String) - Method in interface io.github.astrapi69.file.read.api.Readable
Reads the first line from the specified file
readHeadLine(String) - Static method in class io.github.astrapi69.file.read.ReadFileExtensions
Reads the first line from the specified file
readLine(File, int) - Static method in class io.github.astrapi69.file.read.ReadFileExtensions
Reads a line at the specified index from the file, or null if the line does not exist
readLinesInList(File) - Static method in class io.github.astrapi69.file.read.ReadFileExtensions
Reads all lines from the specified file into a list
readLinesInList(File, boolean) - Static method in class io.github.astrapi69.file.read.ReadFileExtensions
Reads every line from the File and puts them to the List.
readLinesInList(File, Charset) - Static method in class io.github.astrapi69.file.read.ReadFileExtensions
Reads every line from the File and puts them to the List.
readLinesInList(File, Charset, boolean) - Static method in class io.github.astrapi69.file.read.ReadFileExtensions
Reads every line from the File and puts them to the List.
readLinesInList(InputStream) - Static method in class io.github.astrapi69.file.read.ReadFileExtensions
Reads every line from the given InputStream and puts them to the List.
readLinesInList(InputStream, boolean) - Static method in class io.github.astrapi69.file.read.ReadFileExtensions
Reads every line from the given InputStream and puts them to the List.
readLinesInList(InputStream, Charset, boolean) - Static method in class io.github.astrapi69.file.read.ReadFileExtensions
Reads every line from the given InputStream and puts them to the List.
readPropertiesFromFile(String) - Static method in class io.github.astrapi69.file.read.ReadFileExtensions
Reads properties from a properties file
readSourceFileAndWriteDestFile(String, String) - Static method in class io.github.astrapi69.file.write.WriteFileExtensions
Deprecated.
Renameable - Interface in io.github.astrapi69.file.rename.api
Interface Renameable provides methods for renaming files and directories.
renameFile(File, File) - Method in interface io.github.astrapi69.file.rename.api.Renameable
This method renames a given file.
renameFile(File, File) - Static method in class io.github.astrapi69.file.rename.RenameFileExtensions
This method renames a given file.
renameFile(File, File, boolean) - Method in interface io.github.astrapi69.file.rename.api.Renameable
Renames the file, with an option to delete the original
renameFile(File, File, boolean) - Static method in class io.github.astrapi69.file.rename.RenameFileExtensions
This method renames a given file.
renameFile(File, String) - Method in interface io.github.astrapi69.file.rename.api.Renameable
Renames the given file, allowing specification of a new file name without an absolute path
renameFile(File, String) - Static method in class io.github.astrapi69.file.rename.RenameFileExtensions
This method renames a given file.
RenameFileExtensions - Class in io.github.astrapi69.file.rename
The class RenameFileExtensions helps you to rename files or directories.
renameFileWithSystemtime(File) - Method in interface io.github.astrapi69.file.rename.api.Renameable
Renames a file with the system time appended
renameFileWithSystemtime(File) - Static method in class io.github.astrapi69.file.rename.RenameFileExtensions
Renames the given file and add to the filename the systemtime.

S

Searchable - Interface in io.github.astrapi69.file.search.api
Interface for searching capabilities within files and directories
SearchFileAttributesBean - Class in io.github.astrapi69.file.search
The class SearchFileAttributesBean encapsulates flags to indicate whether specific file attributes should be ignored during file comparison operations.
SearchFileAttributesBean(boolean, boolean, boolean, boolean, boolean) - Constructor for class io.github.astrapi69.file.search.SearchFileAttributesBean
Constructs a new SearchFileAttributesBean with specified flags.
SearchFileAttributesBean.SearchFileAttributesBeanBuilder - Class in io.github.astrapi69.file.search
The builder class for constructing SearchFileAttributesBean objects.
self() - Method in class io.github.astrapi69.file.create.model.FileContentInfo.FileContentInfoBuilder
Returns this builder instance.
self() - Method in class io.github.astrapi69.file.create.model.FileInfo.FileInfoBuilder
Returns this builder instance.
setAbsolutePathEquality(Boolean) - Method in interface io.github.astrapi69.file.compare.api.IFileCompareResultBean
Sets the absolute path equality.
setAbsolutePathEquality(Boolean) - Method in class io.github.astrapi69.file.compare.FileCompareResultBean
 
setChecksum(String) - Method in class io.github.astrapi69.file.create.model.FileContentInfo
Sets the checksum of the file content.
setCompare(File) - Method in class io.github.astrapi69.file.compare.FileCompareResultBean
Sets the file to compare against.
setContent(byte[]) - Method in class io.github.astrapi69.file.create.model.FileContentInfo
Sets the binary content of the file.
setContentEquality(boolean) - Method in interface io.github.astrapi69.file.compare.api.IFileContentResultBean
Sets the content equality.
setContentEquality(boolean) - Method in class io.github.astrapi69.file.compare.FileContentResultBean
Sets the content equality.
setDirectory(boolean) - Method in class io.github.astrapi69.file.create.model.FileInfo
Sets whether the file is a directory.
setFile(File) - Method in enum class io.github.astrapi69.file.create.model.FileCreationState
Sets file
setFileExtensionEquality(Boolean) - Method in interface io.github.astrapi69.file.compare.api.IFileCompareResultBean
Sets the file extension equality.
setFileExtensionEquality(Boolean) - Method in class io.github.astrapi69.file.compare.FileCompareResultBean
Sets the file extension equality.
setLastModifiedEquality(Boolean) - Method in interface io.github.astrapi69.file.compare.api.IFileCompareResultBean
Sets the last modified equality.
setLastModifiedEquality(Boolean) - Method in class io.github.astrapi69.file.compare.FileCompareResultBean
Sets the last modified equality.
setLengthEquality(Boolean) - Method in interface io.github.astrapi69.file.compare.api.IFileCompareResultBean
Sets the length equality.
setLengthEquality(Boolean) - Method in class io.github.astrapi69.file.compare.FileCompareResultBean
Sets the length equality.
setName(String) - Method in class io.github.astrapi69.file.create.model.FileInfo
Sets the name of the file.
setNameEquality(Boolean) - Method in interface io.github.astrapi69.file.compare.api.IFileCompareResultBean
Sets the name equality.
setNameEquality(Boolean) - Method in class io.github.astrapi69.file.compare.FileCompareResultBean
Sets the name equality.
setPath(String) - Method in class io.github.astrapi69.file.create.model.FileInfo
Sets the path of the file.
setSource(File) - Method in class io.github.astrapi69.file.compare.FileCompareResultBean
Sets the source file used as reference for comparison.
setSystemProperties(Properties) - Static method in class io.github.astrapi69.file.system.SystemPropertiesExtensions
Sets each entry from the specified Properties as a system property
SimpleCompareFileExtensions - Class in io.github.astrapi69.file.compare
simpleCompareFiles(File, File) - Static method in class io.github.astrapi69.file.compare.CompareFileExtensions
Simple comparing the given files.
sort(File, Comparator<String>, String) - Static method in class io.github.astrapi69.file.sort.SortFileExtensions
Sort the file content from the given File.
SortFileExtensions - Class in io.github.astrapi69.file.sort
The class SortFileExtensions provides algorithms for sort file content.
source - Variable in class io.github.astrapi69.file.compare.FileCompareResultBean
The source file.
SOURCE_FOLDER_SRC_MAIN_JAVA - Static variable in class io.github.astrapi69.file.search.PathFinder
The Constant SOURCE_FOLDER_SRC_MAIN_JAVA keeps the relative path for the source folder 'src/main/java' in maven projects.
SOURCE_FOLDER_SRC_MAIN_RESOURCES - Static variable in class io.github.astrapi69.file.search.PathFinder
The Constant SOURCE_FOLDER_SRC_MAIN_RESOURCES keeps the relative path for the source folder 'src/main/resources' in maven projects.
SOURCE_FOLDER_SRC_MAIN_WEBAPP - Static variable in class io.github.astrapi69.file.search.PathFinder
The Constant SOURCE_FOLDER_SRC_MAIN_WEBAPP keeps the relative path for the source folder 'src/main/webapp' in maven projects.
SOURCE_FOLDER_SRC_TEST_JAVA - Static variable in class io.github.astrapi69.file.search.PathFinder
The Constant SOURCE_FOLDER_SRC_TEST_JAVA keeps the relative path for the source folder 'src/test/java' in maven projects.
SOURCE_FOLDER_SRC_TEST_RESOURCES - Static variable in class io.github.astrapi69.file.search.PathFinder
The Constant SOURCE_FOLDER_SRC_TEST_RESOURCES keeps the relative path for the source folder 'src/test/resources' in maven projects.
SOURCE_TO_TARGET - Enum constant in enum class io.github.astrapi69.file.merge.strategy.MergeStrategy
SOURCE_TO_TARGET Strategy will do:

if exists in source, but not in target -> copy from source to target
if exists in target, but not in source -> do nothing
if exists in both, but content not equal -> try to merge if fail copy from source to target
if exists in both, and content is equal -> leave target unchanged
Storable - Interface in io.github.astrapi69.file.write.api
The interface Storable provides methods for storing or updating file contents
StoreFileExtensions - Class in io.github.astrapi69.file.write
The class StoreFileExtensions provides extension methods for files to store or update
string2File(String, String) - Static method in class io.github.astrapi69.file.write.WriteFileExtensions
SystemFileExtensions - Class in io.github.astrapi69.file.system
The class SystemFileExtensions provide methods for get system or user files.
SystemPropertiesExtensions - Class in io.github.astrapi69.file.system
The SystemPropertiesExtensions class provides utility methods to retrieve common system properties.

T

TARGET_AS_MASTER - Enum constant in enum class io.github.astrapi69.file.merge.strategy.MergeStrategy
TARGET_AS_MASTER Strategy will do:

if exists in source, but not in target -> copy from source to target and delete from source

if exists in target, but not in source -> do nothing

if exists in both, but content not equal -> try to merge if fail copy from source to target and delete from source
if exists in both, and content is equal -> leave target unchanged and delete from source
toBuilder() - Method in class io.github.astrapi69.file.create.model.FileInfo
Returns a builder initialized with the values of this `FileInfo` object.
toBuilder() - Method in class io.github.astrapi69.file.search.SearchFileAttributesBean
Returns a builder initialized with the values of this SearchFileAttributesBean object.
toByteArray(File) - Method in interface io.github.astrapi69.file.read.api.Readable
Reads file content into a byte array
toByteArray(File) - Static method in class io.github.astrapi69.file.read.ReadFileExtensions
Reads file content into a byte array
toByteArray(InputStream) - Method in interface io.github.astrapi69.file.read.api.Readable
Gets a byte array from the given InputStream.
toByteArray(InputStream) - Static method in class io.github.astrapi69.file.read.ReadFileExtensions
Get a byte array from the given InputStream.
toFile() - Method in class io.github.astrapi69.file.create.model.FileInfo
Converts this `FileInfo` object to a File object.
toFile(FileContentInfo) - Static method in class io.github.astrapi69.file.create.model.FileContentInfo
Converts a `FileContentInfo` into a `File`.
toFile(FileInfo) - Static method in class io.github.astrapi69.file.create.model.FileInfo
Converts the given `FileInfo` object to a File object
toFile(File, byte[]) - Method in interface io.github.astrapi69.file.write.api.Storable
Stores the given byte array to the specified File object
toFile(File, byte[]) - Static method in class io.github.astrapi69.file.write.StoreFileExtensions
Stores the given byte array to the given File object
toFile(File, String) - Method in interface io.github.astrapi69.file.write.api.Storable
Writes a String to the specified File object
toFile(File, String) - Static method in class io.github.astrapi69.file.write.StoreFileExtensions
This Method writes the given String object to the given File object
toFile(File, String, String) - Static method in class io.github.astrapi69.file.write.StoreFileExtensions
This Method writes the given String object to the given File object with the given encoding as String object
toFile(File, String, Charset) - Method in interface io.github.astrapi69.file.write.api.Storable
Writes a string to the specified file with the given encoding
toFile(File, String, Charset) - Static method in class io.github.astrapi69.file.write.StoreFileExtensions
This Method writes the given String object to the given File object with the encoding that is encapsulated in the given Charset object
toFile(File, Collection<String>) - Method in interface io.github.astrapi69.file.write.api.Storable
Writes lines from a collection to the specified file
toFile(File, Collection<String>) - Static method in class io.github.astrapi69.file.write.StoreFileExtensions
Writes the given lines in the collection into the given file
toFile(File, Collection<String>, String) - Static method in class io.github.astrapi69.file.write.StoreFileExtensions
Writes the given lines in the collection into the given file
toFile(File, Collection<String>, Charset) - Method in interface io.github.astrapi69.file.write.api.Storable
Writes lines to the specified file with the given encoding
toFile(File, Collection<String>, Charset) - Static method in class io.github.astrapi69.file.write.StoreFileExtensions
Writes the given lines in the collection into the given file
toFileContentInfo(File) - Static method in class io.github.astrapi69.file.create.model.FileContentInfo
Converts a `File` into a `FileContentInfo`, extracting its name, path, checksum, and content.
toFileInfo(File) - Static method in class io.github.astrapi69.file.create.model.FileInfo
Converts the given File object to a `FileInfo` object.
toObject(byte[]) - Method in interface io.github.astrapi69.file.read.api.Readable
Converts a primitive byte array to a Byte array
toString() - Method in class io.github.astrapi69.file.compare.FileCompareResultBean
 
toString() - Method in class io.github.astrapi69.file.compare.FileContentResultBean
 
toString() - Method in class io.github.astrapi69.file.create.model.FileContentInfo.FileContentInfoBuilder
Returns a string representation of the builder.
toString() - Method in class io.github.astrapi69.file.create.model.FileContentInfo
Returns a string representation of the object.
toString() - Method in class io.github.astrapi69.file.create.model.FileInfo.FileInfoBuilder
Returns a string representation of the builder.
toString() - Method in class io.github.astrapi69.file.create.model.FileInfo
Returns a string representation of the object.
toString() - Method in class io.github.astrapi69.file.search.SearchFileAttributesBean.SearchFileAttributesBeanBuilder
Returns a string representation of the builder.
toString() - Method in class io.github.astrapi69.file.search.SearchFileAttributesBean
Returns a string representation of the object.

U

USER_DIR_PROPERTY_KEY - Static variable in class io.github.astrapi69.file.system.SystemPropertiesExtensions
Key for the user working directory system property.
USER_HOME_PROPERTY_KEY - Static variable in class io.github.astrapi69.file.system.SystemPropertiesExtensions
Key for the user home directory system property.
USER_NAME_PROPERTY_KEY - Static variable in class io.github.astrapi69.file.system.SystemPropertiesExtensions
Key for the user name system property.

V

validateEquality(IFileCompareResultBean) - Static method in class io.github.astrapi69.file.compare.CompareFileExtensions
Validates the files encapsulated in the IFileCompareResultBean for simple equality.
validateEquality(IFileContentResultBean) - Static method in class io.github.astrapi69.file.compare.CompareFileExtensions
Validates the files encapsulated in the IFileCompareResultBean for total equality.
valueOf(String) - Static method in enum class io.github.astrapi69.file.create.model.FileCreationState
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class io.github.astrapi69.file.merge.strategy.MergeStrategy
Returns the enum constant of this class with the specified name.
values() - Static method in enum class io.github.astrapi69.file.create.model.FileCreationState
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class io.github.astrapi69.file.merge.strategy.MergeStrategy
Returns an array containing the constants of this enum class, in the order they are declared.

W

write(InputStream, OutputStream) - Static method in class io.github.astrapi69.file.write.WriteFileExtensions
Deprecated.
Use StreamExtensions.writeInputStreamToOutputStream(InputStream, OutputStream) instead
write2File(Reader, Writer) - Static method in class io.github.astrapi69.file.write.WriteFileExtensions
Deprecated.
Use StreamExtensions.writeReaderToWriter(Reader, Writer) instead.
write2File(String, Writer) - Static method in class io.github.astrapi69.file.write.WriteFileExtensions
write2File(String, String) - Static method in class io.github.astrapi69.file.write.WriteFileExtensions
Deprecated.
write2FileWithBuffer(String, String) - Static method in class io.github.astrapi69.file.write.WriteFileExtensions
writeByteArrayToFile(File, byte[]) - Static method in class io.github.astrapi69.file.write.WriteFileExtensions
writeByteArrayToFile(String, byte[]) - Static method in class io.github.astrapi69.file.write.WriteFileExtensions
WriteFileExtensions - Class in io.github.astrapi69.file.write
The class WriteFileExtensions provides methods for writing in files.
writeLinesToFile(File, List<String>, String) - Static method in class io.github.astrapi69.file.write.WriteFileExtensions
writeLinesToFile(Collection<String>, File) - Static method in class io.github.astrapi69.file.write.WriteFileExtensions
writeLinesToFile(Collection<String>, File, String) - Static method in class io.github.astrapi69.file.write.WriteFileExtensions
writeProperties2File(String, Properties) - Static method in class io.github.astrapi69.file.write.WriteFileExtensions
Deprecated.
Use PropertiesExtensions.export(Properties, OutputStream)
$ A B C D E F G H I J L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form