Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
$
- $fillValuesFrom(C) - Method in class io.github.astrapi69.file.create.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.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
-
Deprecated.
- 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.
- 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.FileContentInfo.FileContentInfoBuilder
-
Builds the `FileContentInfo` object.
- build() - Method in class io.github.astrapi69.file.create.FileInfo.FileInfoBuilder
-
Builds the `FileInfo` object.
- build() - Method in class io.github.astrapi69.file.csv.CsvBean.CsvBeanBuilder
-
Deprecated.Constructs a new `CsvBean` object based on the current builder state.
- 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.FileContentInfo
-
Returns a builder for constructing `FileContentInfo` objects.
- builder() - Static method in class io.github.astrapi69.file.create.FileInfo
-
Returns a builder for constructing `FileInfo` objects.
- builder() - Static method in class io.github.astrapi69.file.csv.CsvBean
-
Deprecated.Creates a builder for constructing `CsvBean` 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.FileContentInfo
-
Internal method for checking equality with another object.
- canEqual(Object) - Method in class io.github.astrapi69.file.create.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) - Static method in class io.github.astrapi69.file.rename.RenameFileExtensions
-
Changes all the Filenames with the new Suffix recursively.
- changeFilenameSuffix(File, String) - Static method in class io.github.astrapi69.file.rename.RenameFileExtensions
-
Changes the suffix from the Filename.
- changeFilenameSuffix(File, String, boolean) - Static method in class io.github.astrapi69.file.rename.RenameFileExtensions
-
Changes the suffix from the Filename.
- checkFile(File) - Static method in class io.github.astrapi69.file.delete.DeleteFileExtensions
-
Checks the File if it is a directory or if its exists or if it is empty.
- checksum(String) - Method in class io.github.astrapi69.file.create.FileContentInfo.FileContentInfoBuilder
-
Sets the checksum of the file content.
- clone() - Method in class io.github.astrapi69.file.csv.CsvBean
-
Deprecated.
- columnTypes(String[]) - Method in class io.github.astrapi69.file.csv.CsvBean.CsvBeanBuilder
-
Deprecated.Sets the types of each column for the `CsvBean` object being built.
- columnTypesEdit(String[]) - Method in class io.github.astrapi69.file.csv.CsvBean.CsvBeanBuilder
-
Deprecated.Sets the editable types of each column for the `CsvBean` object being built.
- 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) - 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) - 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.FileContentInfo.FileContentInfoBuilder
-
Sets the binary content of the file.
- copyDirectory(File, File) - Static method in class io.github.astrapi69.file.copy.CopyFileExtensions
-
Copies the given source directory to the given destination directory.
- copyDirectory(File, File, boolean) - Static method in class io.github.astrapi69.file.copy.CopyFileExtensions
-
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.
- copyDirectoryWithFileFilter(File, File, FileFilter, boolean) - Static method in class io.github.astrapi69.file.copy.CopyFileExtensions
-
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.CopyFileExtensions
-
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.CopyFileExtensions
-
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.CopyFileExtensions
-
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.CopyFileExtensions
-
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) - 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.
- CopyFileExtensions - Class in io.github.astrapi69.file.copy
-
The class
CopyFileExtensions
helps you to copy files or directories. - copyFiles(List<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.
- 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) - 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
-
Count all lines from the given file
- CREATED - Enum constant in enum class io.github.astrapi69.file.create.FileCreationState
-
This state signals that the file was created
- CsvBean - Class in io.github.astrapi69.file.csv
-
Deprecated.Use instead the class with the same name from module 'cvs-worker'. Note: will be removed with next minor version
- CsvBean() - Constructor for class io.github.astrapi69.file.csv.CsvBean
-
Deprecated.Default constructor.
- CsvBean(String[], String[], String[], List<String[]>) - Constructor for class io.github.astrapi69.file.csv.CsvBean
-
Deprecated.Constructs a new `CsvBean` object with specified headers, column types, editable types, and lines.
- CsvBean(String[], String[], String[], Map<Integer, Integer>, List<String[]>) - Constructor for class io.github.astrapi69.file.csv.CsvBean
-
Deprecated.Constructs a new `CsvBean` object with specified column types, editable types, headers, line order, and lines.
- CsvBean(String[], String[], List<String[]>) - Constructor for class io.github.astrapi69.file.csv.CsvBean
-
Deprecated.Constructs a new `CsvBean` object with specified headers, column types, and lines.
- CsvBean.CsvBeanBuilder - Class in io.github.astrapi69.file.csv
-
Deprecated.Builder class for constructing `CsvBean` objects.
- CsvFileExtensions - Class in io.github.astrapi69.file.csv
-
Deprecated.Use instead the class with the same name from module 'cvs-worker'. Note: will be removed with next minor version
- CsvToSqlExtensions - Class in io.github.astrapi69.file.csv
-
Deprecated.Use instead the class with the same name from module 'cvs-worker'. Note: will be removed with next minor version
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) - Static method in class io.github.astrapi69.file.delete.DeleteFileExtensions
-
Tries to delete the given
File
object and if it's a directory than it will try to delete all the subdirectories - delete(Collection<File>) - Static method in class io.github.astrapi69.file.delete.DeleteFileExtensions
-
Tries to delete all given files in the list.
- 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.
- 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) - Static method in class io.github.astrapi69.file.delete.DeleteFileExtensions
-
Deletes all files with the given suffix recursively.
- deleteFile(File) - Static method in class io.github.astrapi69.file.delete.DeleteFileExtensions
-
Tries to delete the given file.
- DeleteFileExtensions - Class in io.github.astrapi69.file.delete
-
The class
DeleteFileExtensions
helps you delete files. - deleteFiles(File) - Static method in class io.github.astrapi69.file.delete.DeleteFileExtensions
-
Tries to delete all files in the 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) - 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 theFileChangeable
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.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.FileContentInfo
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class io.github.astrapi69.file.create.FileInfo
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class io.github.astrapi69.file.csv.CsvBean
-
Deprecated.
- equals(Object) - Method in class io.github.astrapi69.file.search.SearchFileAttributesBean
-
Indicates whether some other object is "equal to" this one.
- extractSqlColumns(String[]) - Static method in class io.github.astrapi69.file.csv.CsvToSqlExtensions
-
Deprecated.Extract sql columns.
F
- FAILED - Enum constant in enum class io.github.astrapi69.file.create.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 aBiFunction
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
-
The class
FileContentInfo
represents information about file content, including checksum and binary data. - FileContentInfo() - Constructor for class io.github.astrapi69.file.create.FileContentInfo
-
Constructs a new empty `FileContentInfo`.
- FileContentInfo(FileContentInfo.FileContentInfoBuilder<?, ?>) - Constructor for class io.github.astrapi69.file.create.FileContentInfo
-
Constructs a new `FileContentInfo` from the builder.
- FileContentInfo(String, byte[]) - Constructor for class io.github.astrapi69.file.create.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 -
The builder class for constructing `FileContentInfo` objects.
- FileContentInfoBuilder() - Constructor for class io.github.astrapi69.file.create.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
-
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
helps you to create files - FileInfo - Class in io.github.astrapi69.file.create
-
The class
FileInfo
represents file information, including name, path, and directory flag. - FileInfo() - Constructor for class io.github.astrapi69.file.create.FileInfo
-
Constructs a new empty `FileInfo`.
- FileInfo(FileInfo.FileInfoBuilder<?, ?>) - Constructor for class io.github.astrapi69.file.create.FileInfo
-
Constructs a new `FileInfo` from the builder.
- FileInfo(File) - Constructor for class io.github.astrapi69.file.create.FileInfo
-
Constructs a new `FileInfo` from the given
File
object. - FileInfo(String, String, boolean) - Constructor for class io.github.astrapi69.file.create.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 -
The builder class for constructing `FileInfo` objects.
- FileInfoBuilder() - Constructor for class io.github.astrapi69.file.create.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) - 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>) - 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[]) - 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>) - 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) - 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) - Static method in class io.github.astrapi69.file.rename.RenameFileExtensions
-
Moves the given source file to the given destination file.
- formatKommaSeperatedFileToList(File, String) - Static method in class io.github.astrapi69.file.csv.CsvFileExtensions
-
Deprecated.Reads every line from the File splits the data through a comma and puts them to the List.
- formatToCSV(File, File, String) - Static method in class io.github.astrapi69.file.csv.CsvFileExtensions
-
Deprecated.Formats a file that has in every line one input-data into a csv-file.
- fromFile(File) - Static method in class io.github.astrapi69.file.read.ReadFileExtensions
-
This method reads the given file with the default UTF-8 encoding and returns the content as an
String
object - fromFile(File, Charset) - Static method in class io.github.astrapi69.file.read.ReadFileExtensions
-
This method reads the given file with the given encoding and returns the content as an
String
object
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) - Static method in class io.github.astrapi69.file.search.FileSearchExtensions
-
Gets the all files from directory.
- 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.FileContentInfo
-
Retrieves the checksum of the file content.
- getColumnTypes() - Method in class io.github.astrapi69.file.csv.CsvBean
-
Deprecated.Gets the types of each column in the CSV.
- getColumnTypesEdit() - Method in class io.github.astrapi69.file.csv.CsvBean
-
Deprecated.Gets the editable types of each column in the CSV.
- getContent() - Method in class io.github.astrapi69.file.create.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
- getCsvFileAsSqlInsertScript(String, CsvBean) - Static method in class io.github.astrapi69.file.csv.CsvToSqlExtensions
-
Deprecated.Gets the csv file as sql insert script.
- getCsvFileAsSqlInsertScript(String, CsvBean, boolean, boolean) - Static method in class io.github.astrapi69.file.csv.CsvToSqlExtensions
-
Deprecated.Gets the csv file as sql insert script.
- getCsvFileAsSqlInsertScript(String, String[], String[], String[], List<String[]>) - Static method in class io.github.astrapi69.file.csv.CsvToSqlExtensions
-
Deprecated.Gets the csv file as sql insert script.
- getCsvFileAsSqlInsertScript(String, String[], String[], List<String[]>) - Static method in class io.github.astrapi69.file.csv.CsvToSqlExtensions
-
Deprecated.Gets the csv file as sql insert script.
- 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
- getCvsAsListMap(File) - Static method in class io.github.astrapi69.file.csv.CsvFileExtensions
-
Deprecated.Gets the given cvs file as list of maps.
- getCvsAsListMap(File, String) - Static method in class io.github.astrapi69.file.csv.CsvFileExtensions
-
Deprecated.Gets the given cvs file as list of maps.
- getDataFromLine(String, String) - Static method in class io.github.astrapi69.file.csv.CsvFileExtensions
-
Deprecated.Gets the data from line.
- getDataFromLine(String, String) - Static method in class io.github.astrapi69.file.csv.CsvToSqlExtensions
-
Deprecated.Gets the data from line.
- getDataFromLine(String, String, boolean) - Static method in class io.github.astrapi69.file.csv.CsvFileExtensions
-
Deprecated.Gets the data from line.
- getFile() - Method in enum class io.github.astrapi69.file.create.FileCreationState
-
Gets file
- getFilecontentAsByteObjectArray(File) - Static method in class io.github.astrapi69.file.read.ReadFileExtensions
-
Get a 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.
- getHeaders() - Method in class io.github.astrapi69.file.csv.CsvBean
-
Deprecated.Gets the headers of the CSV.
- 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.
- getLineCountFromCsvFile(File) - Static method in class io.github.astrapi69.file.csv.CsvFileExtensions
-
Deprecated.Gets the line count from csv file.
- getLineOrder() - Method in class io.github.astrapi69.file.csv.CsvBean
-
Deprecated.Gets the order of lines in the CSV.
- getLines() - Method in class io.github.astrapi69.file.csv.CsvBean
-
Deprecated.Gets the lines of data in the CSV.
- 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.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.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) - 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.
- getSqlData(String[], String[], String[], Map<Integer, Integer>, List<String[]>, boolean) - Static method in class io.github.astrapi69.file.csv.CsvToSqlExtensions
-
Deprecated.Gets the sql data.
- 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
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.FileContentInfo
-
Returns a hash code value for the object.
- hashCode() - Method in class io.github.astrapi69.file.create.FileInfo
-
Returns a hash code value for the object.
- hashCode() - Method in class io.github.astrapi69.file.csv.CsvBean
-
Deprecated.
- hashCode() - Method in class io.github.astrapi69.file.search.SearchFileAttributesBean
-
Returns a hash code value for the object.
- headers(String[]) - Method in class io.github.astrapi69.file.csv.CsvBean.CsvBeanBuilder
-
Deprecated.Sets the headers for the `CsvBean` object being built.
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.create - package io.github.astrapi69.file.create
-
Provides classes for creating files or directories
- io.github.astrapi69.file.csv - package io.github.astrapi69.file.csv
-
Provides classes for manipulation from cvs files
- io.github.astrapi69.file.delete - package io.github.astrapi69.file.delete
-
Provides classes for deletion of files or directories
- 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.rename - package io.github.astrapi69.file.rename
-
Provides classes for renaming files or directories
- io.github.astrapi69.file.search - package io.github.astrapi69.file.search
-
Provides classes for searching files or directories
- 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.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.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. - lineOrder(Map<Integer, Integer>) - Method in class io.github.astrapi69.file.csv.CsvBean.CsvBeanBuilder
-
Deprecated.Sets the line order for the `CsvBean` object being built.
- lines(List<String[]>) - Method in class io.github.astrapi69.file.csv.CsvBean.CsvBeanBuilder
-
Deprecated.Sets the lines of data for the `CsvBean` object being built.
- 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) - Static method in class io.github.astrapi69.file.create.DirectoryFactory
-
Creates the parent directories from 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) - 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.FileInfo.FileInfoBuilder
-
Sets the name of the file.
- 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'.
- newDirectories(Path, FileAttribute<?>...) - Static method in class io.github.astrapi69.file.create.DirectoryFactory
-
Creates a new directory from the given
Path
object and the optionalFileAttribute
.
Note: this method decorates theFiles.createDirectories(Path, FileAttribute...)
and returns if the directory is created or not. - 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 and the optionalFileAttribute
.
Note: this method decorates theFiles.createDirectories(Path, FileAttribute...)
and returns if the directory is created or not. - newDirectory(File) - Static method in class io.github.astrapi69.file.create.DirectoryFactory
-
Creates a new directory from the given
File
object - 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 is not exists. - newDirectory(String) - Static method in class io.github.astrapi69.file.create.DirectoryFactory
- newDirectory(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. - newDirectory(Path, FileAttribute<?>...) - Static method in class io.github.astrapi69.file.create.DirectoryFactory
-
Creates a new directory from the given
Path
object and the optionalFileAttribute
.
Note: this method decorates theFiles.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 optionalFileAttribute
.
Note: this method decorates theFiles.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
- newFile(File) - Static method in class io.github.astrapi69.file.create.FileFactory
-
Factory method that creates a new empty
File
if it is not exists, otherwise it lets the file as it is. - newFile(File, String) - Static method in class io.github.astrapi69.file.create.FileFactory
-
Factory method for creating the new
File
if it is not exists. - 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) - 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, 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
- newFileQuietly(File) - Static method in class io.github.astrapi69.file.create.FileFactory
-
Factory method that creates a new empty
File
if it is not exists, otherwise it lets 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
if it is not exists. - 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
-
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, 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>) - Static method in class io.github.astrapi69.file.create.FileFactory
-
Creates all files contained in the collection as empty files if the files does not exists otherwise it lets the files as they are.
- newFilesQuietly(Collection<File>) - Static method in class io.github.astrapi69.file.create.FileFactory
-
Creates all files contained in the collection as empty files if the files does not exists otherwise it lets the files 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
- 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
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.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.FileCreationState
-
This state signals that the file creation is pending
R
- readDataFromCVSFileToList(File, int, boolean, String) - Static method in class io.github.astrapi69.file.csv.CsvFileExtensions
-
Deprecated.Reads from a csv-file the field from the given position and puts them to the List.
- readDataFromCVSFileToList(File, int, boolean, String, String) - Static method in class io.github.astrapi69.file.csv.CsvFileExtensions
-
Deprecated.Reads from a csv-file the field from the given position and puts them to the List.
- ReadFileExtensions - Class in io.github.astrapi69.file.read
-
The class
ReadFileExtensions
helps you reading files. - readFilelistToProperties(File) - Static method in class io.github.astrapi69.file.csv.CsvFileExtensions
-
Deprecated.Read filelist to properties.
- readFileToBytearray(File) - Static method in class io.github.astrapi69.file.read.ReadFileExtensions
-
Get a byte array from the given file.
- readFileToList(File) - Static method in class io.github.astrapi69.file.csv.CsvFileExtensions
-
Deprecated.Reads every line from the given File into a List and returns the List.
- readFileToList(File, String) - Static method in class io.github.astrapi69.file.csv.CsvFileExtensions
-
Deprecated.Reads every line from the given File into a List and returns the List.
- readFileToList(File, String, String) - Static method in class io.github.astrapi69.file.csv.CsvFileExtensions
-
Deprecated.Reads every line from the given File into a List of String arrays and returns the List.
- readHeadLine(String) - Static method in class io.github.astrapi69.file.read.ReadFileExtensions
-
The Method readHeadLine() opens the File and reads the first line from the file.
- readLine(File, int) - Static method in class io.github.astrapi69.file.read.ReadFileExtensions
-
Read a line from the given index in the given File and return it, if index greater than null is returned
- readLinesInList(File) - Static method in class io.github.astrapi69.file.read.ReadFileExtensions
-
Reads every line from the File and puts them to the 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, String) - Static method in class io.github.astrapi69.file.csv.CsvFileExtensions
-
Deprecated.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
-
The Method readFromFile(String) reads from the properties-file all Properties and saves them into a Properties-Object.
- readSourceFileAndWriteDestFile(String, String) - Static method in class io.github.astrapi69.file.write.WriteFileExtensions
-
Deprecated.Use
CopyFileExtensions.copyFile(File, File)
instead. - renameFile(File, File) - Static method in class io.github.astrapi69.file.rename.RenameFileExtensions
-
This method renames a given file.
- renameFile(File, File, boolean) - Static method in class io.github.astrapi69.file.rename.RenameFileExtensions
-
This method renames a given file.
- 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) - Static method in class io.github.astrapi69.file.rename.RenameFileExtensions
-
Renames the given file and add to the filename the systemtime.
S
- 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.FileContentInfo.FileContentInfoBuilder
-
Returns this builder instance.
- self() - Method in class io.github.astrapi69.file.create.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.FileContentInfo
-
Sets the checksum of the file content.
- setColumnTypes(String[]) - Method in class io.github.astrapi69.file.csv.CsvBean
-
Deprecated.Sets the types of each column in the CSV.
- setColumnTypesEdit(String[]) - Method in class io.github.astrapi69.file.csv.CsvBean
-
Deprecated.Sets the editable types of each column in the CSV.
- 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.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.FileInfo
-
Sets whether the file is a directory.
- setFile(File) - Method in enum class io.github.astrapi69.file.create.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.
- setHeaders(String[]) - Method in class io.github.astrapi69.file.csv.CsvBean
-
Deprecated.Sets the headers of the CSV.
- 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.
- setLineOrder(Map<Integer, Integer>) - Method in class io.github.astrapi69.file.csv.CsvBean
-
Deprecated.Sets the order of lines in the CSV.
- setLines(List<String[]>) - Method in class io.github.astrapi69.file.csv.CsvBean
-
Deprecated.Sets the lines of data in the CSV.
- setName(String) - Method in class io.github.astrapi69.file.create.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.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.
- SimpleCompareFileExtensions - Class in io.github.astrapi69.file.compare
-
The class
SimpleCompareFileExtensions
. - 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
. - sortData(File, String) - Static method in class io.github.astrapi69.file.csv.CsvFileExtensions
-
Deprecated.Read an csv-file and puts them in a String-array.
- 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 - StoreFileExtensions - Class in io.github.astrapi69.file.write
-
The class
StoreFileExtensions
provides extension methods for files to store or update - storeFilelistToProperties(File, File, String) - Static method in class io.github.astrapi69.file.csv.CsvFileExtensions
-
Deprecated.Stores a komma seperated file to a properties object.
- string2File(String, String) - Static method in class io.github.astrapi69.file.write.WriteFileExtensions
-
Deprecated.Use
StoreFileExtensions.toFile(File, String)
instead. - 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.FileInfo
-
Returns a builder initialized with the values of this `FileInfo` object.
- toBuilder() - Method in class io.github.astrapi69.file.csv.CsvBean
-
Deprecated.Creates a builder initialized with the current `CsvBean` instance's properties.
- toBuilder() - Method in class io.github.astrapi69.file.search.SearchFileAttributesBean
-
Returns a builder initialized with the values of this
SearchFileAttributesBean
object. - toByteArray(File) - Static method in class io.github.astrapi69.file.read.ReadFileExtensions
-
Get a byte array from the given file.
- 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.FileInfo
-
Converts this `FileInfo` object to a
File
object. - toFile(FileContentInfo) - Static method in class io.github.astrapi69.file.create.FileContentInfo
-
Converts a `FileContentInfo` into a `File`.
- toFile(FileInfo) - Static method in class io.github.astrapi69.file.create.FileInfo
-
Converts the given `FileInfo` object to a
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) - Static method in class io.github.astrapi69.file.write.StoreFileExtensions
- toFile(File, String, String) - Static method in class io.github.astrapi69.file.write.StoreFileExtensions
- toFile(File, String, Charset) - Static method in class io.github.astrapi69.file.write.StoreFileExtensions
- 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) - 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.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.FileInfo
-
Converts the given
File
object to a `FileInfo` object. - 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.FileContentInfo.FileContentInfoBuilder
-
Returns a string representation of the builder.
- toString() - Method in class io.github.astrapi69.file.create.FileContentInfo
-
Returns a string representation of the object.
- toString() - Method in class io.github.astrapi69.file.create.FileInfo.FileInfoBuilder
-
Returns a string representation of the builder.
- toString() - Method in class io.github.astrapi69.file.create.FileInfo
-
Returns a string representation of the object.
- toString() - Method in class io.github.astrapi69.file.csv.CsvBean.CsvBeanBuilder
-
Deprecated.Returns a string representation of the `CsvBeanBuilder` object, showing its current column types, editable types, headers, line order, and lines of data.
- toString() - Method in class io.github.astrapi69.file.csv.CsvBean
-
Deprecated.Returns a string representation of the `CsvBean` object, showing its current column types, editable types, headers, line order, and lines of data.
- 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.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.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
-
Deprecated.Use
StoreFileExtensions.toFile(File, String)
instead. - write2File(String, String) - Static method in class io.github.astrapi69.file.write.WriteFileExtensions
-
Deprecated.Use
CopyFileExtensions.copyFile(File, File)
instead. - write2FileWithBuffer(String, String) - Static method in class io.github.astrapi69.file.write.WriteFileExtensions
-
Deprecated.Use
StoreFileExtensions.toFile(File, String)
instead. - writeByteArrayToFile(File, byte[]) - Static method in class io.github.astrapi69.file.write.WriteFileExtensions
-
Deprecated.
- writeByteArrayToFile(String, byte[]) - Static method in class io.github.astrapi69.file.write.WriteFileExtensions
-
Deprecated.
- WriteFileExtensions - Class in io.github.astrapi69.file.write
-
The class
WriteFileExtensions
provides methods for writing in files. - writeLines(File, Set<String>, String) - Static method in class io.github.astrapi69.file.csv.CsvFileExtensions
-
Deprecated.Writes the toString() value of each item in a collection to the specified File line by line.
- writeLinesToFile(File, List<String>, String) - Static method in class io.github.astrapi69.file.write.WriteFileExtensions
-
Deprecated.
- writeLinesToFile(Collection<String>, File) - Static method in class io.github.astrapi69.file.write.WriteFileExtensions
-
Deprecated.
- writeLinesToFile(Collection<String>, File, String) - Static method in class io.github.astrapi69.file.csv.CsvFileExtensions
-
Deprecated.Writes all the String-object in the collection into the given file.
- writeLinesToFile(Collection<String>, File, String) - Static method in class io.github.astrapi69.file.write.WriteFileExtensions
-
Deprecated.
- writeProperties2File(String, Properties) - Static method in class io.github.astrapi69.file.write.WriteFileExtensions
-
Deprecated.Use
PropertiesExtensions.export(Properties, OutputStream)
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
LineAppender.appendLines(File, String...)
instead.