Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- AbstractMemoryReadableResource - Class in com.helger.io.resource.inmemory
-
Abstract base class for an
IReadableResourcethat is not really a resource but where the API does not offer alternatives. - AbstractMemoryReadableResource(String) - Constructor for class com.helger.io.resource.inmemory.AbstractMemoryReadableResource
-
Constructor.
- AbstractWrappedReadableResource - Class in com.helger.io.resource.wrapped
-
A wrapper around a readable resource for
InputStreammanipulation . - AbstractWrappedReadableResource(IReadableResource) - Constructor for class com.helger.io.resource.wrapped.AbstractWrappedReadableResource
- AbstractWrappedWritableResource - Class in com.helger.io.resource.wrapped
-
A wrapper around a writable resource for
OutputStreammanipulation . - AbstractWrappedWritableResource(IWritableResource) - Constructor for class com.helger.io.resource.wrapped.AbstractWrappedWritableResource
- accept(File) - Method in interface com.helger.io.file.IFileFilter
-
Accept a file.
- accept(File, String) - Method in interface com.helger.io.file.IFileFilter
-
Accept a file based on directory and name.
- appendFile(String, byte[]) - Method in interface com.helger.io.relative.IFileRelativeIO
-
Helper function for saving a file with correct error handling.
- appendFile(String, String, Charset) - Method in interface com.helger.io.relative.IFileRelativeIO
-
Helper function for saving a file with correct error handling.
B
- B_SUFFIX - Static variable in class com.helger.io.misc.SizeHelper
-
Suffix for Bytes
- Base64File - Class in com.helger.io.codec.base64
-
This class contains the
Filebased APIs for Base64 - Base64File() - Constructor for class com.helger.io.codec.base64.Base64File
- bytes() - Method in class com.helger.io.resource.inmemory.ReadableResourceByteArray
C
- callbacks() - Method in class com.helger.io.file.FileOperationManager
-
Get the mutable callback list for file operation events.
- callbacks() - Method in class com.helger.io.watchdir.WatchDir
- canExecute() - Method in class com.helger.io.resource.FileSystemResource
-
Tests whether the application can execute the file denoted by this abstract pathname.
- canRead() - Method in class com.helger.io.resource.ClassPathResource
-
Check if this classpath resource can be read.
- canRead() - Method in class com.helger.io.resource.FileSystemResource
-
Tests whether the application can read the file denoted by this abstract pathname.
- canReadAndWriteFile(File) - Static method in class com.helger.io.file.FileHelper
-
Check if the passed file can read and write.
- canReadAndWriteFile(Path) - Static method in class com.helger.io.file.PathHelper
-
Check if the passed file can read and write.
- canReadNoCache(ClassLoader) - Method in class com.helger.io.resource.ClassPathResource
-
Check if this classpath resource can be read using the specified class loader without caching.
- canWrite() - Method in class com.helger.io.resource.FileSystemResource
-
Tests whether the application can modify the file denoted by this abstract pathname.
- channelCopy(ReadableByteChannel, WritableByteChannel) - Static method in class com.helger.io.channel.ChannelHelper
-
Copy all content from the source channel to the destination channel.
- ChannelHelper - Class in com.helger.io.channel
-
Some very basic NIO channel utility stuff.
- CHARSET_TO_USE - Static variable in class com.helger.io.id.factory.FileIntIDFactory
-
The charset to use for writing the file
- CHARSET_TO_USE - Static variable in class com.helger.io.id.factory.FileLongIDFactory
-
The charset to use for writing the file
- ClassHelperExt - Class in com.helger.io.clazz
-
Classhelper methods. - CLASSPATH_PREFIX_LONG - Static variable in class com.helger.io.resource.ClassPathResource
-
Use this prefix to uniquely identify classpath resources
- CLASSPATH_PREFIX_SHORT - Static variable in class com.helger.io.resource.ClassPathResource
-
Use this prefix to uniquely identify classpath resources - alternative
- ClassPathResource - Class in com.helger.io.resource
-
Wraps a class path object as a readable resource.
- ClassPathResource(String) - Constructor for class com.helger.io.resource.ClassPathResource
-
Create a new class path resource, using the specified path.
- ClassPathResource(String, ClassLoader) - Constructor for class com.helger.io.resource.ClassPathResource
-
Create a new class path resource using the specified path and class loader (optional).
- ClassPathResource(URL) - Constructor for class com.helger.io.resource.ClassPathResource
-
Create a new class path resource, using the specified URL.
- ClassPathResource(URL, ClassLoader) - Constructor for class com.helger.io.resource.ClassPathResource
-
Create a new class path resource using the specified URL and class loader (optional).
- ClassPathResourceProvider - Class in com.helger.io.resourceprovider
-
Simple resource provider that only uses files.
- ClassPathResourceProvider() - Constructor for class com.helger.io.resourceprovider.ClassPathResourceProvider
-
Constructor without prefix.
- ClassPathResourceProvider(String) - Constructor for class com.helger.io.resourceprovider.ClassPathResourceProvider
-
Constructor
- close() - Method in class com.helger.io.watchdir.WatchDir
-
Close the watch directory service and stop processing.
- close(Channel) - Static method in class com.helger.io.channel.ChannelHelper
-
Close the passed channel if it is not
nulland still open. - com.helger.io.channel - package com.helger.io.channel
- com.helger.io.clazz - package com.helger.io.clazz
- com.helger.io.codec.base64 - package com.helger.io.codec.base64
- com.helger.io.file - package com.helger.io.file
- com.helger.io.id.factory - package com.helger.io.id.factory
- com.helger.io.misc - package com.helger.io.misc
- com.helger.io.provider - package com.helger.io.provider
- com.helger.io.relative - package com.helger.io.relative
- com.helger.io.resource - package com.helger.io.resource
- com.helger.io.resource.inmemory - package com.helger.io.resource.inmemory
- com.helger.io.resource.wrapped - package com.helger.io.resource.wrapped
- com.helger.io.resourceprovider - package com.helger.io.resourceprovider
- com.helger.io.resourceresolver - package com.helger.io.resourceresolver
- com.helger.io.rt - package com.helger.io.rt
- com.helger.io.stream - package com.helger.io.stream
- com.helger.io.typeconvert - package com.helger.io.typeconvert
- com.helger.io.url - package com.helger.io.url
- com.helger.io.watchdir - package com.helger.io.watchdir
- containsPathSeparatorChar(String) - Static method in class com.helger.io.file.FilenameHelper
-
Check if the passed String contains at least one path separator char (either Windows or Unix style).
- COPY_DIR_RECURSIVE - Enum constant in enum class com.helger.io.file.EFileIOOperation
- COPY_FILE - Enum constant in enum class com.helger.io.file.EFileIOOperation
- copyDirRecursive(File, File) - Method in class com.helger.io.file.FileOperationManager
-
Copy a directory including all child objects.
- copyDirRecursive(File, File) - Static method in class com.helger.io.file.FileOperations
-
Copy a directory including all child objects.
- copyDirRecursive(File, File) - Method in interface com.helger.io.file.IFileOperationManager
-
Copy a directory including all child objects.
- copyDirRecursive(Path, Path) - Static method in class com.helger.io.file.PathOperations
-
Copy a directory including all child objects.
- copyFile(File, File) - Method in class com.helger.io.file.FileOperationManager
-
Copies the source file to the target file.
- copyFile(File, File) - Static method in class com.helger.io.file.FileOperations
-
Copies the source file to the target file.
- copyFile(File, File) - Method in interface com.helger.io.file.IFileOperationManager
-
Copies the source file to the target file.
- copyFile(Path, Path) - Static method in class com.helger.io.file.PathOperations
-
Copies the source file to the target file.
- CountingFileInputStream - Class in com.helger.io.stream
-
A special
FileInputStreamsub class that keeps track of all read bytes for the statistics handler. - CountingFileInputStream(File) - Constructor for class com.helger.io.stream.CountingFileInputStream
-
Create a counting file input stream for the passed file.
- CountingFileInputStream(String) - Constructor for class com.helger.io.stream.CountingFileInputStream
-
Create a counting file input stream for the passed filename.
- CountingFileOutputStream - Class in com.helger.io.stream
-
A special
FileOutputStreamsub class that keeps track of all written bytes for the statistics handler. - CountingFileOutputStream(File) - Constructor for class com.helger.io.stream.CountingFileOutputStream
-
Constructor using the default append mode.
- CountingFileOutputStream(File, EAppend) - Constructor for class com.helger.io.stream.CountingFileOutputStream
-
Constructor with explicit append mode.
- CountingFileOutputStream(String) - Constructor for class com.helger.io.stream.CountingFileOutputStream
-
Constructor using the default append mode.
- CountingFileOutputStream(String, EAppend) - Constructor for class com.helger.io.stream.CountingFileOutputStream
-
Constructor with explicit append mode.
- CREATE - Enum constant in enum class com.helger.io.watchdir.EWatchDirAction
- CREATE_DIR - Enum constant in enum class com.helger.io.file.EFileIOOperation
- CREATE_DIR_RECURSIVE - Enum constant in enum class com.helger.io.file.EFileIOOperation
- createAsyncRunningWatchDir(Path, boolean, IWatchDirCallback) - Static method in class com.helger.io.watchdir.WatchDir
-
Static factory method to create a simple
WatchDirinstance that already spawned an Thread to listen. - createDir(File) - Method in class com.helger.io.file.FileOperationManager
-
Create a new directory.
- createDir(File) - Static method in class com.helger.io.file.FileOperations
-
Create a new directory.
- createDir(File) - Method in interface com.helger.io.file.IFileOperationManager
-
Create a new directory.
- createDir(Path) - Static method in class com.helger.io.file.PathOperations
-
Create a new directory.
- createDirectory(String, boolean) - Method in interface com.helger.io.relative.IFileRelativeIO
-
Create the appropriate directory if it is not existing
- createDirIfNotExisting(File) - Method in class com.helger.io.file.FileOperationManager
-
Create a new directory if it does not exist.
- createDirIfNotExisting(File) - Static method in class com.helger.io.file.FileOperations
-
Create a new directory if it does not exist.
- createDirIfNotExisting(File) - Method in interface com.helger.io.file.IFileOperationManager
-
Create a new directory if it does not exist.
- createDirIfNotExisting(Path) - Static method in class com.helger.io.file.PathOperations
-
Create a new directory if it does not exist.
- createDirRecursive(File) - Method in class com.helger.io.file.FileOperationManager
-
Create a new directory.
- createDirRecursive(File) - Static method in class com.helger.io.file.FileOperations
-
Create a new directory.
- createDirRecursive(File) - Method in interface com.helger.io.file.IFileOperationManager
-
Create a new directory.
- createDirRecursive(Path) - Static method in class com.helger.io.file.PathOperations
-
Create a new directory.
- createDirRecursiveIfNotExisting(File) - Method in class com.helger.io.file.FileOperationManager
-
Create a new directory if it does not exist.
- createDirRecursiveIfNotExisting(File) - Static method in class com.helger.io.file.FileOperations
-
Create a new directory if it does not exist.
- createDirRecursiveIfNotExisting(File) - Method in interface com.helger.io.file.IFileOperationManager
-
Create a new directory if it does not exist.
- createDirRecursiveIfNotExisting(Path) - Static method in class com.helger.io.file.PathOperations
-
Create a new directory if it does not exist.
- createForCurrentDir() - Static method in class com.helger.io.relative.FileRelativeIO
-
Create a new
FileRelativeIOfor the current working directory.
D
- decodeFileToFile(String, File) - Static method in class com.helger.io.codec.base64.Base64File
-
Reads
infileand decodes it tooutfile. - decodeFromFile(String) - Static method in class com.helger.io.codec.base64.Base64File
-
Convenience method for reading a base64-encoded file and decoding it.
- decodeToFile(String, File) - Static method in class com.helger.io.codec.base64.Base64File
-
Convenience method for decoding data to a file.
- DEFAULT_APPEND - Static variable in class com.helger.io.stream.CountingFileOutputStream
-
By default append is enabled
- DEFAULT_CONNECT_TIMEOUT - Static variable in class com.helger.io.resource.URLResource
- DEFAULT_COPY_NEEDED - Static variable in class com.helger.io.resource.inmemory.ReadableResourceByteArray
- DEFAULT_EXCEPTION_ON_DELETE_ROOT - Static variable in class com.helger.io.file.FileOperations
-
The default value for warning if we're about to delete the root directory.
- DEFAULT_EXCEPTION_ON_DELETE_ROOT - Static variable in class com.helger.io.file.PathOperations
-
The default value for warning if we're about to delete the root directory.
- DEFAULT_READ_TIMEOUT - Static variable in class com.helger.io.resource.URLResource
- DEFAULT_RESERVE_COUNT - Static variable in class com.helger.io.id.factory.FileIntIDFactory
-
The default number of values to reserve with a single IO action
- DEFAULT_RESERVE_COUNT - Static variable in class com.helger.io.id.factory.FileLongIDFactory
-
The default number of values to reserve with a single IO action
- DefaultResourceProvider - Class in com.helger.io.resourceprovider
-
The default resource provider.
- DefaultResourceProvider() - Constructor for class com.helger.io.resourceprovider.DefaultResourceProvider
-
Constructor initializing the chain with URL, file system and classpath resource providers.
- DefaultResourceResolver - Class in com.helger.io.resourceresolver
-
A simple resource resolver that can handle URLs, JAR files and file system resources.
- DefaultResourceResolver() - Constructor for class com.helger.io.resourceresolver.DefaultResourceResolver
- DELETE - Enum constant in enum class com.helger.io.watchdir.EWatchDirAction
- DELETE_DIR - Enum constant in enum class com.helger.io.file.EFileIOOperation
- DELETE_DIR_RECURSIVE - Enum constant in enum class com.helger.io.file.EFileIOOperation
- DELETE_FILE - Enum constant in enum class com.helger.io.file.EFileIOOperation
- deleteDir(File) - Method in class com.helger.io.file.FileOperationManager
-
Delete an existing directory.
- deleteDir(File) - Static method in class com.helger.io.file.FileOperations
-
Delete an existing directory.
- deleteDir(File) - Method in interface com.helger.io.file.IFileOperationManager
-
Delete an existing directory.
- deleteDir(Path) - Static method in class com.helger.io.file.PathOperations
-
Delete an existing directory.
- deleteDirectory(String, boolean) - Method in interface com.helger.io.relative.IFileRelativeIO
-
Delete a directory relative to the base path.
- deleteDirectoryIfExisting(String, boolean) - Method in interface com.helger.io.relative.IFileRelativeIO
-
Delete a directory relative to the base path if it exists.
- deleteDirIfExisting(File) - Method in class com.helger.io.file.FileOperationManager
-
Delete an existing directory if it is existing.
- deleteDirIfExisting(File) - Static method in class com.helger.io.file.FileOperations
-
Delete an existing directory if it is existing.
- deleteDirIfExisting(File) - Method in interface com.helger.io.file.IFileOperationManager
-
Delete an existing directory if it is existing.
- deleteDirIfExisting(Path) - Static method in class com.helger.io.file.PathOperations
-
Delete an existing directory if it is existing.
- deleteDirRecursive(File) - Method in class com.helger.io.file.FileOperationManager
-
Delete an existing directory including all child objects.
- deleteDirRecursive(File) - Static method in class com.helger.io.file.FileOperations
-
Delete an existing directory including all child objects.
- deleteDirRecursive(File) - Method in interface com.helger.io.file.IFileOperationManager
-
Delete an existing directory including all child objects.
- deleteDirRecursive(Path) - Static method in class com.helger.io.file.PathOperations
-
Delete an existing directory including all child objects.
- deleteDirRecursiveIfExisting(File) - Method in class com.helger.io.file.FileOperationManager
-
Delete an existing directory including all child objects if it is existing.
- deleteDirRecursiveIfExisting(File) - Static method in class com.helger.io.file.FileOperations
-
Delete an existing directory including all child objects if it is existing.
- deleteDirRecursiveIfExisting(File) - Method in interface com.helger.io.file.IFileOperationManager
-
Delete an existing directory including all child objects if it is existing.
- deleteDirRecursiveIfExisting(Path) - Static method in class com.helger.io.file.PathOperations
-
Delete an existing directory including all child objects if it is existing.
- deleteFile(File) - Method in class com.helger.io.file.FileOperationManager
-
Delete an existing file.
- deleteFile(File) - Static method in class com.helger.io.file.FileOperations
-
Delete an existing file.
- deleteFile(File) - Method in interface com.helger.io.file.IFileOperationManager
-
Delete an existing file.
- deleteFile(String) - Method in interface com.helger.io.relative.IFileRelativeIO
-
Delete a file relative to the base path.
- deleteFile(Path) - Static method in class com.helger.io.file.PathOperations
-
Delete an existing file.
- deleteFileIfExisting(File) - Method in class com.helger.io.file.FileOperationManager
-
Delete a file if it is existing.
- deleteFileIfExisting(File) - Static method in class com.helger.io.file.FileOperations
-
Delete a file if it is existing.
- deleteFileIfExisting(File) - Method in interface com.helger.io.file.IFileOperationManager
-
Delete a file if it is existing.
- deleteFileIfExisting(String) - Method in interface com.helger.io.relative.IFileRelativeIO
-
Delete a file relative to the base path if it exists.
- deleteFileIfExisting(Path) - Static method in class com.helger.io.file.PathOperations
-
Delete a file if it is existing.
- directoryOnly() - Static method in interface com.helger.io.file.IFileFilter
- directoryPublic() - Static method in interface com.helger.io.file.IFileFilter
E
- EFileIOErrorCode - Enum Class in com.helger.io.file
-
Represents a set of predefined error codes that can occur in file operations.
- EFileIOOperation - Enum Class in com.helger.io.file
-
An enumeration that encapsulates all available file IO operation types.
- encodeFileToFile(String, File) - Static method in class com.helger.io.codec.base64.Base64File
-
Reads
infileand encodes it tooutfile. - encodeFromFile(String) - Static method in class com.helger.io.codec.base64.Base64File
-
Convenience method for reading a binary file and base64-encoding it.
- encodeToFile(byte[], File) - Static method in class com.helger.io.codec.base64.Base64File
-
Convenience method for encoding data to a file.
- endsWithPathSeparatorChar(CharSequence) - Static method in class com.helger.io.file.FilenameHelper
-
Check if the passed character sequence ends with a path separation character.
- ensureParentDirectoryIsPresent(File) - Static method in class com.helger.io.file.FileHelper
-
Ensure that the parent directory of the passed file is present.
- ensureParentDirectoryIsPresent(Path) - Static method in class com.helger.io.file.PathHelper
-
Ensure that the parent directory of the passed path is present.
- ensurePathEndingWithoutSeparator(String) - Static method in class com.helger.io.file.FilenameHelper
-
Ensure that the passed path does NOT end with a directory separator character.
- ensurePathEndingWithSeparator(String) - Static method in class com.helger.io.file.FilenameHelper
-
Ensure that the passed path ends with a directory separator character.
- ensurePathStartingWithSeparator(String) - Static method in class com.helger.io.file.FilenameHelper
-
Ensure that the passed path starts with a directory separator character.
- equalFiles(File, File) - Static method in class com.helger.io.file.FileHelper
-
Compare two files by their clean absolute paths for equality.
- equalPaths(Path, Path) - Static method in class com.helger.io.file.PathHelper
-
Compare two paths for equality by resolving their real paths.
- equals(Object) - Method in class com.helger.io.file.FileIOError
- equals(Object) - Method in class com.helger.io.id.factory.FileIntIDFactory
- equals(Object) - Method in class com.helger.io.id.factory.FileLongIDFactory
- equals(Object) - Method in class com.helger.io.provider.FileSystemByteStreamProvider
- equals(Object) - Method in class com.helger.io.provider.FileSystemCharStreamProvider
- equals(Object) - Method in class com.helger.io.relative.FileRelativeIO
- equals(Object) - Method in class com.helger.io.relative.PathRelativeIO
- equals(Object) - Method in class com.helger.io.resource.ClassPathResource
- equals(Object) - Method in class com.helger.io.resource.FileSystemResource
- equals(Object) - Method in class com.helger.io.resource.URLResource
- equals(Object) - Method in class com.helger.io.resourceprovider.ClassPathResourceProvider
- equals(Object) - Method in class com.helger.io.resourceprovider.FileSystemResourceProvider
- equals(Object) - Method in class com.helger.io.resourceprovider.ReadableResourceProviderChain
- equals(Object) - Method in class com.helger.io.resourceprovider.URLResourceProvider
- equals(Object) - Method in class com.helger.io.resourceprovider.WritableResourceProviderChain
- ERandomAccessFileMode - Enum Class in com.helger.io.file
-
Represents a set of predefined open modes for RandomAccessFile objects.
- EWatchDirAction - Enum Class in com.helger.io.watchdir
-
Enum for fixed actions.
- exists() - Method in class com.helger.io.resource.ClassPathResource
-
Check if this classpath resource exists by trying to resolve its URL.
- exists() - Method in class com.helger.io.resource.FileSystemResource
-
Check if the underlying file exists.
- exists() - Method in class com.helger.io.resource.inmemory.AbstractMemoryReadableResource
- exists() - Method in interface com.helger.io.resource.IResourceBase
- exists() - Method in class com.helger.io.resource.URLResource
-
Check if this URL resource exists.
- exists() - Method in class com.helger.io.resource.wrapped.AbstractWrappedReadableResource
- exists() - Method in class com.helger.io.resource.wrapped.AbstractWrappedWritableResource
- existsDir(File) - Static method in class com.helger.io.file.FileHelper
-
Check if the passed directory exists.
- existsDir(String) - Method in interface com.helger.io.relative.IFileRelativeIO
-
Check if a directory relative to the base path exists
- existsFile(File) - Static method in class com.helger.io.file.FileHelper
-
Check if the passed file exists.
- existsFile(String) - Method in interface com.helger.io.relative.IFileRelativeIO
-
Check if a file relative to the base path exists
- existsNoCacheUsage() - Method in class com.helger.io.resource.ClassPathResource
-
Check if this classpath resource exists by resolving the URL without using cached results.
- EXTENSION_SEPARATOR - Static variable in class com.helger.io.file.FilenameHelper
-
The file extension separation character.
F
- FileChannelHelper - Class in com.helger.io.file
-
Miscellaneous
FileChannelutility methods. - FileHelper - Class in com.helger.io.file
-
Miscellaneous file utility methods.
- FileIntIDFactory - Class in com.helger.io.id.factory
-
Filebased persistingIIntIDFactoryimplementation. - FileIntIDFactory(File) - Constructor for class com.helger.io.id.factory.FileIntIDFactory
-
Constructor using the
FileIntIDFactory.DEFAULT_RESERVE_COUNT. - FileIntIDFactory(File, int) - Constructor for class com.helger.io.id.factory.FileIntIDFactory
-
Constructor with explicit reserve count.
- FileIOError - Class in com.helger.io.file
-
Represents an error with an additional error object.
- FileIOError(EFileIOOperation, EFileIOErrorCode) - Constructor for class com.helger.io.file.FileIOError
-
Constructor with operation and error code only.
- FileIOError(EFileIOOperation, EFileIOErrorCode, File) - Constructor for class com.helger.io.file.FileIOError
-
Constructor with operation, error code and one file.
- FileIOError(EFileIOOperation, EFileIOErrorCode, File, File) - Constructor for class com.helger.io.file.FileIOError
-
Constructor with operation, error code and two files.
- FileIOError(EFileIOOperation, EFileIOErrorCode, File, File, Exception) - Constructor for class com.helger.io.file.FileIOError
-
Full constructor with all parameters.
- FileIOError(EFileIOOperation, EFileIOErrorCode, Exception) - Constructor for class com.helger.io.file.FileIOError
-
Constructor with operation, error code and an exception.
- FileLongIDFactory - Class in com.helger.io.id.factory
-
Filebased persistingILongIDFactoryimplementation. - FileLongIDFactory(File) - Constructor for class com.helger.io.id.factory.FileLongIDFactory
-
Constructor using the
FileLongIDFactory.DEFAULT_RESERVE_COUNT. - FileLongIDFactory(File, int) - Constructor for class com.helger.io.id.factory.FileLongIDFactory
-
Constructor with explicit reserve count.
- filenameEndsWith(String) - Static method in interface com.helger.io.file.IFileFilter
- filenameEquals(String) - Static method in interface com.helger.io.file.IFileFilter
- filenameEqualsIgnoreCase(String) - Static method in interface com.helger.io.file.IFileFilter
- FilenameHelper - Class in com.helger.io.file
-
All kind of file name handling stuff.
- filenameHidden() - Static method in interface com.helger.io.file.IFileFilter
- filenameMatchAny(String...) - Static method in interface com.helger.io.file.IFileFilter
-
Create a file filter that matches, if it matches one of the provided filenames.
- filenameMatchAnyRegEx(String...) - Static method in interface com.helger.io.file.IFileFilter
-
Create a file filter that matches, if it matches one of the provided regular expressions
- filenameMatchNone(String...) - Static method in interface com.helger.io.file.IFileFilter
-
Create a file filter that matches, if it matches none of the provided filenames.
- filenameMatchNoRegEx(String...) - Static method in interface com.helger.io.file.IFileFilter
-
Create a file filter that matches, if it matches none of the provided regular expressions
- filenameNotEquals(String) - Static method in interface com.helger.io.file.IFileFilter
- filenameNotEqualsIgnoreCase(String) - Static method in interface com.helger.io.file.IFileFilter
- filenameStartsWith(String) - Static method in interface com.helger.io.file.IFileFilter
- fileOnly() - Static method in interface com.helger.io.file.IFileFilter
- FileOperationManager - Class in com.helger.io.file
-
Manage file operations, and persist the last errors for later retrieval, as well as offering a callback mechanism for success/error handling.
- FileOperationManager() - Constructor for class com.helger.io.file.FileOperationManager
-
Default constructor without any registered callbacks.
- FileOperations - Class in com.helger.io.file
-
Wraps file operations.
- FileRelativeIO - Class in com.helger.io.relative
-
Default implementation of
IFileRelativeIO. - FileRelativeIO(File) - Constructor for class com.helger.io.relative.FileRelativeIO
-
Constructor.
- FileSystemByteStreamProvider - Class in com.helger.io.provider
- FileSystemByteStreamProvider(File) - Constructor for class com.helger.io.provider.FileSystemByteStreamProvider
-
Constructor using a base path file.
- FileSystemByteStreamProvider(String) - Constructor for class com.helger.io.provider.FileSystemByteStreamProvider
-
Constructor using a base path string.
- FileSystemCharStreamProvider - Class in com.helger.io.provider
- FileSystemCharStreamProvider(File, Charset) - Constructor for class com.helger.io.provider.FileSystemCharStreamProvider
-
Constructor using a base path file and a charset.
- FileSystemCharStreamProvider(String, Charset) - Constructor for class com.helger.io.provider.FileSystemCharStreamProvider
-
Constructor using a base path string and a charset.
- FileSystemIterator - Class in com.helger.io.file
-
Iterate over the content of a single directory.
- FileSystemIterator(File) - Constructor for class com.helger.io.file.FileSystemIterator
-
Constructor.
- FileSystemIterator(File, String) - Constructor for class com.helger.io.file.FileSystemIterator
-
Constructor.
- FileSystemIterator(String) - Constructor for class com.helger.io.file.FileSystemIterator
-
Constructor.
- FileSystemRecursiveIterator - Class in com.helger.io.file
-
Recursively iterate the content of a file system directory.
- FileSystemRecursiveIterator(File) - Constructor for class com.helger.io.file.FileSystemRecursiveIterator
-
Constructor for recursively iterating a file system directory.
- FileSystemRecursiveIterator(File, Predicate<File>) - Constructor for class com.helger.io.file.FileSystemRecursiveIterator
-
Constructor for recursively iterating a file system directory.
- FileSystemRecursiveIterator(String) - Constructor for class com.helger.io.file.FileSystemRecursiveIterator
-
Constructor for recursively iterating a file system directory.
- FileSystemRecursiveIterator(String, Predicate<File>) - Constructor for class com.helger.io.file.FileSystemRecursiveIterator
-
Constructor for recursively iterating a file system directory.
- FileSystemResource - Class in com.helger.io.resource
-
Implementation of the
IReadableResourceandIWritableResourceinterfaces for file system objects. - FileSystemResource(File) - Constructor for class com.helger.io.resource.FileSystemResource
-
Create a new file system resource from a
File. - FileSystemResource(File, String) - Constructor for class com.helger.io.resource.FileSystemResource
-
Create a new file system resource from a parent file and a child path.
- FileSystemResource(String) - Constructor for class com.helger.io.resource.FileSystemResource
-
Create a new file system resource from a filename.
- FileSystemResource(String, String) - Constructor for class com.helger.io.resource.FileSystemResource
-
Create a new file system resource from a parent path and a child path.
- FileSystemResource(URI) - Constructor for class com.helger.io.resource.FileSystemResource
-
Create a new file system resource from a URI.
- FileSystemResource(Path) - Constructor for class com.helger.io.resource.FileSystemResource
-
Create a new file system resource from a
Path. - FileSystemResourceProvider - Class in com.helger.io.resourceprovider
-
Simple resource provider that only uses files.
- FileSystemResourceProvider() - Constructor for class com.helger.io.resourceprovider.FileSystemResourceProvider
-
Constructor without a base path.
- FileSystemResourceProvider(File) - Constructor for class com.helger.io.resourceprovider.FileSystemResourceProvider
-
Constructor with a base path file.
- FileSystemResourceProvider(String) - Constructor for class com.helger.io.resourceprovider.FileSystemResourceProvider
-
Constructor with a base path string.
G
- GB_SUFFIX - Static variable in class com.helger.io.misc.SizeHelper
-
Suffix for Gigabytes
- getAbsoluteWithEnsuredParentDirectory(File, String) - Static method in class com.helger.io.file.FilenameHelper
-
Get a concatenated absolute path consisting of the parent directory and the file path.
- getAllContainedReadingResourceProviders() - Method in class com.helger.io.resourceprovider.ReadableResourceProviderChain
- getAllContainedWritingResourceProviders() - Method in class com.helger.io.resourceprovider.WritableResourceProviderChain
- getAllFileBytes(File) - Static method in class com.helger.io.file.SimpleFileIO
-
Get the content of the file as a byte array.
- getAllFileBytes(Path) - Static method in class com.helger.io.file.SimpleFileIO
-
Get the content of the file as a byte array.
- getAllFileLines(File, Charset) - Static method in class com.helger.io.file.SimpleFileIO
-
Get the content of the passed file as a list of lines, whereas each line does not contain a separator.
- getAsFile() - Method in class com.helger.io.resource.ClassPathResource
-
Get this classpath resource as a
File. - getAsFile() - Method in class com.helger.io.resource.FileSystemResource
-
Get this resource as a
File. - getAsFile() - Method in class com.helger.io.resource.inmemory.AbstractMemoryReadableResource
- getAsFile() - Method in interface com.helger.io.resource.IResourceBase
- getAsFile() - Method in class com.helger.io.resource.URLResource
-
Get this URL resource as a file.
- getAsFile() - Method in class com.helger.io.resource.wrapped.AbstractWrappedReadableResource
- getAsFile() - Method in class com.helger.io.resource.wrapped.AbstractWrappedWritableResource
- getAsFile(String) - Static method in class com.helger.io.resource.ClassPathResource
-
Get the file for the specified path using automatic class loader handling.
- getAsFile(String, ClassLoader) - Static method in class com.helger.io.resource.ClassPathResource
-
Get the file for the specified classpath resource using the provided class loader.
- getAsFileNoCache(ClassLoader) - Method in class com.helger.io.resource.ClassPathResource
-
Get this classpath resource as a
Filewithout using cached URLs. - getAsGB(long) - Method in class com.helger.io.misc.SizeHelper
-
Get the passed size formatted as Gigabytes without fraction digits.
- getAsGB(long, int) - Method in class com.helger.io.misc.SizeHelper
-
Get the passed size formatted as Gigabytes with the specified number of fraction digits.
- getAsIOError(EFileIOOperation, File) - Method in enum class com.helger.io.file.EFileIOErrorCode
-
Use this error code to create a new
FileIOErrorinstance. - getAsIOError(EFileIOOperation, File, File) - Method in enum class com.helger.io.file.EFileIOErrorCode
-
Use this error code to create a new
FileIOErrorinstance. - getAsIOError(EFileIOOperation, IOException) - Static method in enum class com.helger.io.file.EFileIOErrorCode
-
Static method to create a
FileIOErrorfor anIOException. - getAsIOError(EFileIOOperation, UncheckedIOException) - Static method in enum class com.helger.io.file.EFileIOErrorCode
-
Static method to create a
FileIOErrorfor anUncheckedIOException. - getAsIOError(EFileIOOperation, Path) - Method in enum class com.helger.io.file.EFileIOErrorCode
-
Use this error code to create a new
FileIOErrorinstance. - getAsIOError(EFileIOOperation, Path, Path) - Method in enum class com.helger.io.file.EFileIOErrorCode
-
Use this error code to create a new
FileIOErrorinstance. - getAsKB(long) - Method in class com.helger.io.misc.SizeHelper
-
Get the passed size formatted as Kilobytes without fraction digits.
- getAsKB(long, int) - Method in class com.helger.io.misc.SizeHelper
-
Get the passed size formatted as Kilobytes with the specified number of fraction digits.
- getAsMatching(long) - Method in class com.helger.io.misc.SizeHelper
-
Get the best matching formatting of the passed value.
- getAsMatching(long, int) - Method in class com.helger.io.misc.SizeHelper
-
Get the best matching formatting of the passed value.
- getAsMatching(BigDecimal) - Method in class com.helger.io.misc.SizeHelper
-
Get the best matching formatting of the passed value.
- getAsMatching(BigDecimal, int) - Method in class com.helger.io.misc.SizeHelper
-
Get the best matching formatting of the passed value.
- getAsMatching(BigInteger) - Method in class com.helger.io.misc.SizeHelper
-
Get the best matching formatting of the passed value.
- getAsMatching(BigInteger, int) - Method in class com.helger.io.misc.SizeHelper
-
Get the best matching formatting of the passed value.
- getAsMB(long) - Method in class com.helger.io.misc.SizeHelper
-
Get the passed size formatted as Megabytes without fraction digits.
- getAsMB(long, int) - Method in class com.helger.io.misc.SizeHelper
-
Get the passed size formatted as Megabytes with the specified number of fraction digits.
- getAsPB(long) - Method in class com.helger.io.misc.SizeHelper
-
Get the passed size formatted as Petabytes without fraction digits.
- getAsPB(long, int) - Method in class com.helger.io.misc.SizeHelper
-
Get the passed size formatted as Petabytes with the specified number of fraction digits.
- getAsSecureValidASCIIFilename(String) - Static method in class com.helger.io.file.FilenameHelper
-
Replace all non-ASCII characters from the filename (e.g.
- getAsSecureValidASCIIFilename(String, char) - Static method in class com.helger.io.file.FilenameHelper
-
Replace all non-ASCII characters from the filename (e.g.
- getAsSecureValidFilename(String) - Static method in class com.helger.io.file.FilenameHelper
-
Convert the passed filename into a valid filename by performing the following actions: Remove everything after a potential \0 character Remove all characters that are invalid at the end of a file name Replace all characters that are invalid inside a filename with a underscore If the filename is invalid on Windows platforms it is prefixed with an underscore. Note: this method does not handle Windows full path like "c:\autoexec.bat"
- getAsTB(long) - Method in class com.helger.io.misc.SizeHelper
-
Get the passed size formatted as Terabytes without fraction digits.
- getAsTB(long, int) - Method in class com.helger.io.misc.SizeHelper
-
Get the passed size formatted as Terabytes with the specified number of fraction digits.
- getAsURI() - Method in class com.helger.io.resource.URLResource
-
Get this URL resource as a URI.
- getAsURL() - Method in class com.helger.io.resource.ClassPathResource
-
Get this classpath resource as a URL.
- getAsURL() - Method in class com.helger.io.resource.FileSystemResource
-
Get this resource as a
URL. - getAsURL() - Method in class com.helger.io.resource.inmemory.AbstractMemoryReadableResource
- getAsURL() - Method in interface com.helger.io.resource.IResourceBase
- getAsURL() - Method in class com.helger.io.resource.URLResource
-
Get this URL resource as a URL.
- getAsURL() - Method in class com.helger.io.resource.wrapped.AbstractWrappedReadableResource
- getAsURL() - Method in class com.helger.io.resource.wrapped.AbstractWrappedWritableResource
- getAsURL(File) - Static method in class com.helger.io.file.FileHelper
-
Convert the passed file to a
URL. - getAsURL(Path) - Static method in class com.helger.io.file.PathHelper
-
Convert the passed path to a
URL. - getAsURLNoCache(ClassLoader) - Method in class com.helger.io.resource.ClassPathResource
-
Convert the path to a URL without using caching.
- getAsURLString(File) - Static method in class com.helger.io.file.FileHelper
-
Convert the passed file to a URL string representation.
- getBaseName(File) - Static method in class com.helger.io.file.FilenameHelper
-
Get the passed filename without path and without extension.
Example:/dir1/dir2/file.txtbecomesfile - getBaseName(String) - Static method in class com.helger.io.file.FilenameHelper
-
Get the passed filename without path and without extension.
Example:/dir1/dir2/file.txtbecomesfile - getBasePath() - Method in class com.helger.io.provider.FileSystemByteStreamProvider
- getBasePath() - Method in class com.helger.io.provider.FileSystemCharStreamProvider
- getBasePath() - Method in interface com.helger.io.relative.IFileRelativeIO
- getBasePath() - Method in interface com.helger.io.relative.IPathRelativeIO
- getBasePath() - Method in class com.helger.io.relative.PathRelativeIO
- getBasePath() - Method in class com.helger.io.resourceprovider.FileSystemResourceProvider
- getBasePathFile() - Method in class com.helger.io.relative.FileRelativeIO
- getBasePathFile() - Method in interface com.helger.io.relative.IFileRelativeIO
- getBaseURL() - Method in class com.helger.io.relative.PathRelativeIO
- getBufferedInputStream(File) - Static method in class com.helger.io.file.FileHelper
-
Get a buffered input stream for the passed file.
- getBufferedInputStream(Path) - Static method in class com.helger.io.file.PathHelper
-
Get a buffered input stream for the passed path.
- getBufferedOutputStream(File) - Static method in class com.helger.io.file.FileHelper
-
Get a buffered output stream for the passed file using the default append mode.
- getBufferedOutputStream(File, EAppend) - Static method in class com.helger.io.file.FileHelper
-
Get a buffered output stream for the passed file.
- getBufferedOutputStream(Path) - Static method in class com.helger.io.file.PathHelper
-
Get a buffered output stream for the passed path using the default append mode.
- getBufferedOutputStream(Path, EAppend) - Static method in class com.helger.io.file.PathHelper
-
Get a buffered output stream for the passed path.
- getBufferedReader(File, Charset) - Static method in class com.helger.io.file.FileHelper
-
Get a buffered
Readerfor the passed file using the specified charset. - getBufferedReader(Path, Charset) - Static method in class com.helger.io.file.PathHelper
-
Get a buffered
Readerfor the passed path using the specified charset. - getBufferedWriter(File, EAppend, Charset) - Static method in class com.helger.io.file.FileHelper
-
Get a buffered
Writerfor the passed file using the specified append mode and charset. - getBufferedWriter(File, Charset) - Static method in class com.helger.io.file.FileHelper
-
Get a buffered
Writerfor the passed file using the default append mode and the specified charset. - getBufferedWriter(Path, EAppend, Charset) - Static method in class com.helger.io.file.PathHelper
-
Get a buffered
Writerfor the passed path using the specified append mode and charset. - getBytesWritten() - Method in class com.helger.io.stream.CountingFileOutputStream
- getCanonicalFile(File) - Static method in class com.helger.io.file.FileHelper
-
Get the canonical file of the passed file, if the file is not
null. - getCanonicalFile(Path) - Static method in class com.helger.io.file.PathHelper
-
Get the canonical file of the passed file, if the file is not
null. - getCanonicalFileOrNull(File) - Static method in class com.helger.io.file.FileHelper
-
Get the canonical file of the passed file, if the file is not
null. - getCanonicalFileOrNull(Path) - Static method in class com.helger.io.file.PathHelper
-
Get the canonical file of the passed file, if the file is not
null. - getCanonicalPath(File) - Static method in class com.helger.io.file.FileHelper
-
Get the canonical path of the passed file, if the file is not
null. - getCanonicalPath(Path) - Static method in class com.helger.io.file.PathHelper
-
Get the canonical path of the passed file, if the file is not
null. - getCanonicalPathOrNull(File) - Static method in class com.helger.io.file.FileHelper
-
Get the canonical path of the passed file, if the file is not
null. - getCanonicalPathOrNull(Path) - Static method in class com.helger.io.file.PathHelper
-
Get the canonical path of the passed file, if the file is not
null. - getCharset() - Method in class com.helger.io.provider.FileSystemCharStreamProvider
- getClassLoader() - Method in class com.helger.io.resource.ClassPathResource
-
Get the class loader associated with this resource.
- getCleanConcatenatedUrlPath(String, String) - Static method in class com.helger.io.file.FilenameHelper
-
Concatenate a base URL and a sub path incl. the path cleansing.
- getCleanPath(File) - Static method in class com.helger.io.file.FilenameHelper
-
Get a clean path of the passed file resolving all "." and ".." paths.
Note: in caseFileHelper.getCanonicalPath(File)fails,FilenameHelper.getCleanPath(String)is used as a fallback.
Note 2: no cleansing operations beside "." and ".." are returned. - getCleanPath(String) - Static method in class com.helger.io.file.FilenameHelper
-
Clean the path by removing all ".." and "." path elements.
- getCleanURLPartWithoutUmlauts(String) - Static method in class com.helger.io.url.URLCleanser
-
Clean an URL part from nasty Umlauts.
- getDirectoryContent(File) - Static method in class com.helger.io.file.FileHelper
-
This is a replacement for
File.listFiles()doing some additional checks on permissions. - getDirectoryContent(File, FileFilter) - Static method in class com.helger.io.file.FileHelper
-
This is a replacement for
File.listFiles(FileFilter)doing some additional checks on permissions. - getDirectoryContent(File, FilenameFilter) - Static method in class com.helger.io.file.FileHelper
-
This is a replacement for
File.listFiles(FilenameFilter)doing some additional checks on permissions. - getDirectoryContent(Path) - Static method in class com.helger.io.file.PathHelper
-
This is a replacement for
Path.listFiles()doing some additional checks on permissions. - getDirectoryContent(Path, Predicate<? super Path>) - Static method in class com.helger.io.file.PathHelper
-
This is a replacement for
Path.listFiles(FilenameFilter)doing some additional checks on permissions. - getDirectoryObjectCount(File) - Static method in class com.helger.io.file.FileHelper
-
Returns the number of files and directories contained in the passed directory excluding the system internal directories.
- getDirectoryObjectCount(Path) - Static method in class com.helger.io.file.PathHelper
-
Returns the number of files and directories contained in the passed directory excluding the system internal directories.
- getErrorCode() - Method in class com.helger.io.file.FileIOError
- getException() - Method in class com.helger.io.file.FileIOError
- getExtension(File) - Static method in class com.helger.io.file.FilenameHelper
-
Get the extension of the passed file.
- getExtension(String) - Static method in class com.helger.io.file.FilenameHelper
-
Get the extension of the passed filename.
- getFile() - Method in class com.helger.io.id.factory.FileIntIDFactory
- getFile() - Method in class com.helger.io.id.factory.FileLongIDFactory
- getFile(String) - Method in interface com.helger.io.relative.IFileRelativeIO
-
Get a
Filerelative to the base path. - getFile1() - Method in class com.helger.io.file.FileIOError
- getFile2() - Method in class com.helger.io.file.FileIOError
- getFileAsString(File, Charset) - Static method in class com.helger.io.file.SimpleFileIO
-
Get the content of the passed file as a string using the system line separator.
- getFileReadChannel(File) - Static method in class com.helger.io.file.FileChannelHelper
-
Get a read-only
FileChannelfor the passed file. - getFileReadChannel(String) - Static method in class com.helger.io.file.FileChannelHelper
-
Get a read-only
FileChannelfor the passed filename. - getFileSize(FileChannel) - Static method in class com.helger.io.file.FileChannelHelper
-
Get the size of the file represented by the passed channel.
- getFileSizeDisplay(long) - Static method in class com.helger.io.file.FileHelper
-
Get a human-readable file size display string for the passed file size using no decimal places.
- getFileSizeDisplay(long, int) - Static method in class com.helger.io.file.FileHelper
-
Get a human-readable file size display string for the passed file size.
- getFileSizeDisplay(File) - Static method in class com.helger.io.file.FileHelper
-
Get a human-readable file size display string for the passed file using no decimal places.
- getFileSizeDisplay(File, int) - Static method in class com.helger.io.file.FileHelper
-
Get a human-readable file size display string for the passed file.
- getFileWriteChannel(File) - Static method in class com.helger.io.file.FileChannelHelper
-
Get a writable
FileChannelfor the passed file using the default append mode. - getFileWriteChannel(File, EAppend) - Static method in class com.helger.io.file.FileChannelHelper
-
Get a writable
FileChannelfor the passed file. - getFileWriteChannel(String) - Static method in class com.helger.io.file.FileChannelHelper
-
Get a writable
FileChannelfor the passed filename using the default append mode. - getFileWriteChannel(String, EAppend) - Static method in class com.helger.io.file.FileChannelHelper
-
Get a writable
FileChannelfor the passed filename. - getFromIDOrNull(int) - Static method in enum class com.helger.io.file.EFileIOErrorCode
-
Get the
EFileIOErrorCodefrom the given numeric ID. - getFromIDOrNull(String) - Static method in enum class com.helger.io.watchdir.EWatchDirAction
-
Get the
EWatchDirActionfrom the given string ID. - getFromModeOrNull(String) - Static method in enum class com.helger.io.file.ERandomAccessFileMode
-
Get the
ERandomAccessFileModefrom the given mode string. - getID() - Method in enum class com.helger.io.file.EFileIOErrorCode
-
An internal ID for easier referencing.
- getID() - Method in enum class com.helger.io.watchdir.EWatchDirAction
- getIndexOfExtension(String) - Static method in class com.helger.io.file.FilenameHelper
-
Returns the index of the last extension separator character, which is a dot.
- getIndexOfLastSeparator(String) - Static method in class com.helger.io.file.FilenameHelper
-
Returns the index of the last directory separator character.
- getInputStream() - Method in class com.helger.io.resource.ClassPathResource
-
Get the input stream for the specified path using automatic class loader handling.
- getInputStream() - Method in class com.helger.io.resource.FileSystemResource
-
Get an input stream for reading from this resource.
- getInputStream() - Method in class com.helger.io.resource.inmemory.ReadableResourceByteArray
- getInputStream() - Method in class com.helger.io.resource.inmemory.ReadableResourceInputStream
- getInputStream() - Method in class com.helger.io.resource.URLResource
-
Get an input stream for this URL resource using default timeouts.
- getInputStream() - Method in class com.helger.io.resource.wrapped.GZIPReadableResource
- getInputStream(int, int) - Method in class com.helger.io.resource.URLResource
-
Get an input stream for this URL resource with specified timeouts.
- getInputStream(int, int, IMutableWrapper<IOException>) - Method in class com.helger.io.resource.URLResource
-
Get an input stream for this URL resource with specified timeouts and exception holder.
- getInputStream(int, int, Consumer<? super URLConnection>, IMutableWrapper<IOException>) - Method in class com.helger.io.resource.URLResource
-
Get an input stream for this URL resource with full control over timeouts, connection modification and exception handling.
- getInputStream(IMutableWrapper<IOException>) - Method in class com.helger.io.resource.URLResource
-
Get an input stream for this URL resource with an exception holder.
- getInputStream(File) - Static method in class com.helger.io.file.FileChannelHelper
-
Get an input stream for the passed file.
- getInputStream(File) - Static method in class com.helger.io.file.FileHelper
-
Get a
FileInputStreamfor the passed file. - getInputStream(String) - Static method in class com.helger.io.resource.ClassPathResource
-
Get the input stream for the specified path using automatic class loader handling.
- getInputStream(String, ClassLoader) - Static method in class com.helger.io.resource.ClassPathResource
-
Get the input stream of the passed resource using the specified class loader only.
- getInputStream(String) - Method in class com.helger.io.provider.FileSystemByteStreamProvider
-
Get the input stream from the given name.
- getInputStream(String) - Method in class com.helger.io.provider.FileSystemCharStreamProvider
-
Get the input stream from the given name.
- getInputStream(String) - Method in interface com.helger.io.provider.IInputStreamProvider
-
Get the input stream from the given name.
- getInputStream(String) - Method in interface com.helger.io.relative.IPathRelativeIO
-
Get the
InputStreamrelative to the base path - getInputStream(String) - Method in interface com.helger.io.resourceprovider.IReadableResourceProvider
-
Get the
InputStreamspecified by the given name for reading. - getInputStream(String) - Method in class com.helger.io.resourceprovider.ReadableResourceProviderChain
- getInputStream(URL) - Static method in class com.helger.io.resource.URLResource
-
Get an input stream for the passed URL using default connect and read timeouts.
- getInputStream(Path) - Static method in class com.helger.io.file.PathHelper
-
Get an
InputStreamfor the passed path. - getInputStreamNoCache(ClassLoader) - Method in class com.helger.io.resource.ClassPathResource
-
Get the input stream to the this resource, using the passed class loader only.
- getLastError() - Method in class com.helger.io.file.FileOperationManager
- getLastError() - Method in interface com.helger.io.file.IFileOperationManager
- getLastOperation() - Method in class com.helger.io.file.FileOperationManager
- getLastOperation() - Method in interface com.helger.io.file.IFileOperationManager
- getLevel() - Method in class com.helger.io.file.FileSystemRecursiveIterator
- getMappedInputStream(File) - Static method in class com.helger.io.file.FileChannelHelper
-
Get an input stream to the specified file, using memory mapping.
- getMappedOutputStream(File) - Static method in class com.helger.io.file.FileChannelHelper
-
Get a memory-mapped output stream for the passed file using the default append mode.
- getMappedOutputStream(File, EAppend) - Static method in class com.helger.io.file.FileChannelHelper
-
Get a memory-mapped output stream for the passed file.
- getMappedOutputStream(String) - Static method in class com.helger.io.file.FileChannelHelper
-
Get a memory-mapped output stream for the passed filename using the default append mode.
- getMappedOutputStream(String, EAppend) - Static method in class com.helger.io.file.FileChannelHelper
-
Get a memory-mapped output stream for the passed filename.
- getMode() - Method in enum class com.helger.io.file.ERandomAccessFileMode
- getOffset() - Method in class com.helger.io.resource.inmemory.ReadableResourceByteArray
- getOperation() - Method in class com.helger.io.file.FileIOError
- getOutputStream(EAppend) - Method in class com.helger.io.resource.FileSystemResource
-
Get an output stream for writing to this resource.
- getOutputStream(EAppend) - Method in class com.helger.io.resource.wrapped.GZIPWritableResource
- getOutputStream(File) - Static method in class com.helger.io.file.FileHelper
-
Get an output stream for writing to a file.
- getOutputStream(File, EAppend) - Static method in class com.helger.io.file.FileHelper
-
Get an output stream for writing to a file.
- getOutputStream(String) - Method in interface com.helger.io.relative.IFileRelativeIO
-
Get the
OutputStreamrelative to the base path. - getOutputStream(String, EAppend) - Method in class com.helger.io.provider.FileSystemByteStreamProvider
-
Get the output stream from the given name.
- getOutputStream(String, EAppend) - Method in class com.helger.io.provider.FileSystemCharStreamProvider
-
Get the output stream from the given name.
- getOutputStream(String, EAppend) - Method in interface com.helger.io.provider.IOutputStreamProvider
-
Get the output stream from the given name.
- getOutputStream(String, EAppend) - Method in interface com.helger.io.relative.IFileRelativeIO
-
Get the
OutputStreamrelative to the base path - getOutputStream(String, EAppend) - Method in interface com.helger.io.resourceprovider.IWritableResourceProvider
-
Get the
OutputStreamspecified by the given name for reading. - getOutputStream(String, EAppend) - Method in class com.helger.io.resourceprovider.WritableResourceProviderChain
- getOutputStream(Path) - Static method in class com.helger.io.file.PathHelper
-
Get an output stream for writing to a file.
- getOutputStream(Path, EAppend) - Static method in class com.helger.io.file.PathHelper
-
Get an output stream for writing to a file.
- getParamCount() - Method in enum class com.helger.io.file.EFileIOOperation
- getPath() - Method in class com.helger.io.resource.ClassPathResource
-
Get the classpath-relative path of this resource.
- getPath() - Method in class com.helger.io.resource.FileSystemResource
-
Get the absolute path of this file system resource.
- getPath() - Method in class com.helger.io.resource.inmemory.AbstractMemoryReadableResource
- getPath() - Method in interface com.helger.io.resource.IResourceBase
- getPath() - Method in class com.helger.io.resource.URLResource
-
Get the path of this URL resource.
- getPath() - Method in class com.helger.io.resource.wrapped.AbstractWrappedReadableResource
- getPath() - Method in class com.helger.io.resource.wrapped.AbstractWrappedWritableResource
- getPath(String) - Static method in class com.helger.io.file.FilenameHelper
-
Get the path of the passed file name without any eventually contained filename.
- getPathUsingUnixSeparator(File) - Static method in class com.helger.io.file.FilenameHelper
-
Ensure that the path (not the absolute path!)
- getPathUsingUnixSeparator(String) - Static method in class com.helger.io.file.FilenameHelper
-
Ensure that the passed path is using the Unix style separator "/" instead of the Operating System dependent one.
- getPathUsingWindowsSeparator(File) - Static method in class com.helger.io.file.FilenameHelper
-
Ensure that the path (not the absolute path!)
- getPathUsingWindowsSeparator(String) - Static method in class com.helger.io.file.FilenameHelper
-
Ensure that the passed path is using the Windows style separator "\" instead of the Operating System dependent one.
- getPrefix() - Method in class com.helger.io.resourceprovider.ClassPathResourceProvider
- getPrintWriter(File, EAppend, Charset) - Static method in class com.helger.io.file.FileHelper
-
Get a
PrintWriterfor the passed file using the specified append mode and charset. - getPrintWriter(File, Charset) - Static method in class com.helger.io.file.FileHelper
-
Get a
PrintWriterfor the passed file using the default append mode and the specified charset. - getRandomAccessFile(File, ERandomAccessFileMode) - Static method in class com.helger.io.file.FileHelper
-
Get a
RandomAccessFilefor the passed file and mode. - getRandomAccessFile(String, ERandomAccessFileMode) - Static method in class com.helger.io.file.FileHelper
-
Get a
RandomAccessFilefor the passed filename and mode. - getReadableCloneForPath(String) - Method in class com.helger.io.resource.ClassPathResource
-
Create a new
ClassPathResourcefor a different path using the same class loader as this resource. - getReadableCloneForPath(String) - Method in class com.helger.io.resource.FileSystemResource
-
Create a new
FileSystemResourcefor a different path. - getReadableCloneForPath(String) - Method in class com.helger.io.resource.inmemory.AbstractMemoryReadableResource
-
Get a new resource of the same implementation type as this object but for a different path.
- getReadableCloneForPath(String) - Method in interface com.helger.io.resource.IReadableResource
-
Get a new resource of the same implementation type as this object but for a different path.
- getReadableCloneForPath(String) - Method in class com.helger.io.resource.URLResource
-
Create a new
URLResourcefor a different path. - getReadableCloneForPath(String) - Method in class com.helger.io.resource.wrapped.GZIPReadableResource
-
Get a new resource of the same implementation type as this object but for a different path.
- getReadableCloneForPath(URL) - Method in class com.helger.io.resource.URLResource
-
Create a new
URLResourcefor a different URL. - getReadableResource(String) - Method in class com.helger.io.resourceprovider.ClassPathResourceProvider
-
Get the resource specified by the given name for reading.
- getReadableResource(String) - Method in class com.helger.io.resourceprovider.FileSystemResourceProvider
-
Get the resource specified by the given name for reading.
- getReadableResource(String) - Method in interface com.helger.io.resourceprovider.IReadableResourceProvider
-
Get the resource specified by the given name for reading.
- getReadableResource(String) - Method in class com.helger.io.resourceprovider.ReadableResourceProviderChain
-
Get the resource specified by the given name for reading.
- getReadableResource(String) - Method in class com.helger.io.resourceprovider.URLResourceProvider
-
Get the resource specified by the given name for reading.
- getReadableResourceIf(String, Predicate<? super IReadableResource>) - Method in class com.helger.io.resourceprovider.ReadableResourceProviderChain
-
Get a readable resource matching the name and filter.
- getReader(File, Charset) - Static method in class com.helger.io.file.FileHelper
-
Get a
Readerfor the passed file using the specified charset. - getReader(String) - Method in class com.helger.io.provider.FileSystemCharStreamProvider
-
Get the reader from the given name.
- getReader(String) - Method in interface com.helger.io.provider.IReaderProvider
-
Get the reader from the given name.
- getReader(String, Charset) - Method in interface com.helger.io.relative.IPathRelativeIO
-
Get the
Readerrelative to the base path - getReader(Charset) - Method in class com.helger.io.resource.FileSystemResource
- getReader(Path, Charset) - Static method in class com.helger.io.file.PathHelper
-
Get a
Readerfor the passed path using the specified charset. - getReaderNoCache(ClassLoader, Charset) - Method in class com.helger.io.resource.ClassPathResource
-
Create a
Readerof this resource, using the specified class loader only. - getRecursionFilter() - Method in class com.helger.io.file.FileSystemRecursiveIterator
- getRelativeFilename(File) - Method in interface com.helger.io.relative.IFileRelativeIO
-
Get the relative file name for the passed absolute file.
- getRelativeToParentDirectory(File, File) - Static method in class com.helger.io.file.FilenameHelper
-
Tries to express the passed file path relative to the passed parent directory.
- getResolvedResource(String, String) - Static method in class com.helger.io.resourceresolver.DefaultResourceResolver
-
Do the standard resource resolving of sSystemId relative to sBaseURI
- getResolvedResource(String, String, ClassLoader) - Static method in class com.helger.io.resourceresolver.DefaultResourceResolver
-
Do the standard resource resolving of sSystemId relative to sBaseURI
- getResource(String) - Method in class com.helger.io.relative.PathRelativeIO
-
Get the file system resource relative to the base path.
- getResource(String) - Method in interface com.helger.io.relative.IFileRelativeIO
-
Get the file system resource relative to the base path
- getResource(String) - Method in interface com.helger.io.relative.IPathRelativeIO
-
Get the file system resource relative to the base path.
- getResourceAsStream(Class<?>, String) - Static method in class com.helger.io.clazz.ClassHelperExt
-
Get the input stream of the passed resource using the class loader of the specified class only.
- getResourceID() - Method in class com.helger.io.resource.ClassPathResource
-
Get the unique resource ID of this classpath resource.
- getResourceID() - Method in class com.helger.io.resource.FileSystemResource
-
Get the unique resource ID of this file system resource.
- getResourceID() - Method in class com.helger.io.resource.inmemory.AbstractMemoryReadableResource
- getResourceID() - Method in interface com.helger.io.resource.IResourceBase
- getResourceID() - Method in class com.helger.io.resource.URLResource
-
Get the unique resource ID of this URL resource.
- getResourceID() - Method in class com.helger.io.resource.wrapped.AbstractWrappedReadableResource
- getResourceID() - Method in class com.helger.io.resource.wrapped.AbstractWrappedWritableResource
- getSecureFile(File) - Static method in class com.helger.io.file.FileHelper
-
Get a secure
Fileobject based on the passed file object. - getSecureFilename(String) - Static method in class com.helger.io.file.FilenameHelper
-
Avoid 0 byte attack.
- getSecurityAsIOError(EFileIOOperation, SecurityException) - Static method in enum class com.helger.io.file.EFileIOErrorCode
-
Static method to create a
FileIOErrorfor aSecurityException. - getSizeHelperOfLocale(Locale) - Static method in class com.helger.io.misc.SizeHelper
-
Get the size helper for the passed locale.
- getStartDirectory() - Method in class com.helger.io.watchdir.WatchDir
- getStartLevel() - Method in class com.helger.io.file.FileSystemRecursiveIterator
- getWithoutClassPathPrefix(String) - Static method in class com.helger.io.resource.ClassPathResource
-
Remove any leading explicit classpath resource prefixes.
- getWithoutExtension(File) - Static method in class com.helger.io.file.FilenameHelper
-
Get the name of the passed file without the extension.
- getWithoutExtension(String) - Static method in class com.helger.io.file.FilenameHelper
-
Get the passed filename without the extension.
- getWithoutPath(File) - Static method in class com.helger.io.file.FilenameHelper
-
Get the name of the passed file without any eventually leading path.
- getWithoutPath(String) - Static method in class com.helger.io.file.FilenameHelper
-
Get the name of the passed file without any eventually leading path.
- getWrappedReadableResource() - Method in class com.helger.io.resource.wrapped.AbstractWrappedReadableResource
- getWrappedReadableResource() - Method in interface com.helger.io.resource.wrapped.IWrappedReadableResource
- getWrappedWritableResource() - Method in class com.helger.io.resource.wrapped.AbstractWrappedWritableResource
- getWrappedWritableResource() - Method in interface com.helger.io.resource.wrapped.IWrappedWritableResource
- getWritableCloneForPath(String) - Method in class com.helger.io.resource.FileSystemResource
-
Create a new writable
FileSystemResourcefor a different path. - getWritableCloneForPath(String) - Method in interface com.helger.io.resource.IWritableResource
-
Get a new resource of the same implementation type as this object but for a different path.
- getWritableCloneForPath(String) - Method in class com.helger.io.resource.wrapped.GZIPWritableResource
-
Get a new resource of the same implementation type as this object but for a different path.
- getWritableResource(String) - Method in class com.helger.io.resourceprovider.FileSystemResourceProvider
-
Get the resource specified by the given name for writing.
- getWritableResource(String) - Method in interface com.helger.io.resourceprovider.IWritableResourceProvider
-
Get the resource specified by the given name for writing.
- getWritableResource(String) - Method in class com.helger.io.resourceprovider.WritableResourceProviderChain
-
Get the resource specified by the given name for writing.
- getWritableResourceIf(String, Predicate<? super IWritableResource>) - Method in class com.helger.io.resourceprovider.WritableResourceProviderChain
-
Get a writable resource matching the name and filter.
- getWriter(File, EAppend, Charset) - Static method in class com.helger.io.file.FileHelper
-
Get a
Writerfor the passed file using the specified append mode and charset. - getWriter(File, Charset) - Static method in class com.helger.io.file.FileHelper
-
Get a
Writerfor the passed file using the default append mode and the specified charset. - getWriter(String, EAppend) - Method in class com.helger.io.provider.FileSystemCharStreamProvider
-
Get the writer from the given name.
- getWriter(String, EAppend) - Method in interface com.helger.io.provider.IWriterProvider
-
Get the writer from the given name.
- getWriter(String, Charset) - Method in interface com.helger.io.relative.IFileRelativeIO
-
Get the
Writerrelative to the base path. - getWriter(String, Charset, EAppend) - Method in interface com.helger.io.relative.IFileRelativeIO
-
Get the
Writerrelative to the base path. - getWriter(Charset, EAppend) - Method in class com.helger.io.resource.FileSystemResource
- getWriter(Path, EAppend, Charset) - Static method in class com.helger.io.file.PathHelper
-
Get a
Writerfor the passed path using the specified append mode and charset. - GZIPReadableResource - Class in com.helger.io.resource.wrapped
-
A readable resource that is GZIP compressed.
- GZIPReadableResource(IReadableResource) - Constructor for class com.helger.io.resource.wrapped.GZIPReadableResource
-
Constructor.
- GZIPWritableResource - Class in com.helger.io.resource.wrapped
-
A writable resource that is GZIP compressed.
- GZIPWritableResource(IWritableResource) - Constructor for class com.helger.io.resource.wrapped.GZIPWritableResource
-
Constructor.
H
- hasException() - Method in class com.helger.io.file.FileIOError
- hasExtension(File, String...) - Static method in class com.helger.io.file.FilenameHelper
-
Check if the passed file has one of the passed extensions.
- hasExtension(String, String...) - Static method in class com.helger.io.file.FilenameHelper
-
Check if the passed filename has one of the passed extensions.
- hasFile1() - Method in class com.helger.io.file.FileIOError
- hasFile2() - Method in class com.helger.io.file.FileIOError
- hashCode() - Method in class com.helger.io.file.FileIOError
- hashCode() - Method in class com.helger.io.id.factory.FileIntIDFactory
- hashCode() - Method in class com.helger.io.id.factory.FileLongIDFactory
- hashCode() - Method in class com.helger.io.provider.FileSystemByteStreamProvider
- hashCode() - Method in class com.helger.io.provider.FileSystemCharStreamProvider
- hashCode() - Method in class com.helger.io.relative.FileRelativeIO
- hashCode() - Method in class com.helger.io.relative.PathRelativeIO
- hashCode() - Method in class com.helger.io.resource.ClassPathResource
- hashCode() - Method in class com.helger.io.resource.FileSystemResource
- hashCode() - Method in class com.helger.io.resource.URLResource
- hashCode() - Method in class com.helger.io.resourceprovider.ClassPathResourceProvider
- hashCode() - Method in class com.helger.io.resourceprovider.FileSystemResourceProvider
- hashCode() - Method in class com.helger.io.resourceprovider.ReadableResourceProviderChain
- hashCode() - Method in class com.helger.io.resourceprovider.URLResourceProvider
- hashCode() - Method in class com.helger.io.resourceprovider.WritableResourceProviderChain
- hasNext() - Method in class com.helger.io.file.FileSystemRecursiveIterator
- HIDDEN_FILE_PREFIX - Static variable in class com.helger.io.file.FilenameHelper
-
The prefix used for Unix hidden files
I
- IFileFilter - Interface in com.helger.io.file
- IFileOperationCallback - Interface in com.helger.io.file
-
Callback interface for
FileOperationManager. - IFileOperationManager - Interface in com.helger.io.file
-
Interface for a manager operating on the file system.
- IFileRelativeIO - Interface in com.helger.io.relative
-
An extended
IPathRelativeIOversion that uses files as the basis. - IInputStreamProvider - Interface in com.helger.io.provider
-
A callback interface to retrieve
InputStreamobjects from a given name. - ILLEGAL_FILENAME_CHAR_REPLACEMENT - Static variable in class com.helger.io.file.FilenameHelper
-
The replacement character used for illegal file name characters.
- IMemoryReadableResource - Interface in com.helger.io.resource.inmemory
-
Marker interface for readable resources that are "in-memory" only.
- INSTANCE - Static variable in class com.helger.io.file.FileOperationManager
- internalCheckAccessRights(File) - Static method in class com.helger.io.relative.FileRelativeIO
-
Check read/write/execute access rights for the given base path and all contained files and directories.
- IO_ERROR - Enum constant in enum class com.helger.io.file.EFileIOErrorCode
-
Generic IO code: an IOException occurred.
- IOTypeConverterRegistrar - Class in com.helger.io.typeconvert
-
Register the IO specific type converter
- IOTypeConverterRegistrar() - Constructor for class com.helger.io.typeconvert.IOTypeConverterRegistrar
- IOutputStreamProvider - Interface in com.helger.io.provider
-
A callback interface to retrieve
OutputStreamobjects from a given name. - IPathRelativeIO - Interface in com.helger.io.relative
-
A read-only version of a path-relative IO component.
- IReadableResource - Interface in com.helger.io.resource
-
Base interface for an abstract readable resource.
- IReadableResourceProvider - Interface in com.helger.io.resourceprovider
-
Resource provider interface for readable resources.
- IReaderProvider - Interface in com.helger.io.provider
-
A callback interface to retrieve
Readerobjects from a given name. - IReadWriteResource - Interface in com.helger.io.resource
-
Base interface for an abstract resource that is both readable and writable.
- IResourceBase - Interface in com.helger.io.resource
-
Base interface for an abstract readable resource.
- isCanReadRelativePaths() - Method in class com.helger.io.resourceprovider.FileSystemResourceProvider
- isCopy() - Method in class com.helger.io.resource.inmemory.ReadableResourceByteArray
- isDebugResolve() - Static method in class com.helger.io.resourceresolver.DefaultResourceResolver
-
Check if debug logging for resource resolving is enabled.
- isEmpty() - Method in class com.helger.io.resource.inmemory.ReadableResourceByteArray
- isEqualIgnoreFileSeparator(String, String) - Static method in class com.helger.io.file.FilenameHelper
-
Check whether the two passed file names are equal, independent of the used separators (/ or \).
- isExceptionOnDeleteRoot() - Static method in class com.helger.io.file.FileOperations
-
Check if an exception should be thrown when trying to delete the root directory.
- isExceptionOnDeleteRoot() - Static method in class com.helger.io.file.PathOperations
-
Check if an exception should be thrown when trying to delete the root directory.
- isExplicitClassPathResource(String) - Static method in class com.helger.io.resource.ClassPathResource
-
Check if the passed resource name is an explicit classpath resource.
- isExplicitJarFileResource(String) - Static method in class com.helger.io.resourceresolver.DefaultResourceResolver
-
Check if the passed resource name is an explicit JAR file resource.
- isExplicitURLResource(String) - Static method in class com.helger.io.resource.URLResource
-
Check if the passed resource name is an explicit URL resource.
- isFileNewer(File, File) - Static method in class com.helger.io.file.FileHelper
-
Returns
trueif the first file is newer than the second file. - isFileNewer(Path, Path) - Static method in class com.helger.io.file.PathHelper
-
Returns
trueif the first file is newer than the second file. - isHiddenFilename(File) - Static method in class com.helger.io.file.FilenameHelper
-
Check if the passed filename is a Unix hidden filename.
- isHiddenFilename(String) - Static method in class com.helger.io.file.FilenameHelper
-
Check if the passed filename is a Unix hidden filename.
- isParentDirectory(File, File) - Static method in class com.helger.io.file.FileHelper
-
Check if the searched directory is a parent object of the start directory
- isParentDirectory(Path, Path) - Static method in class com.helger.io.file.PathHelper
-
Check if the searched directory is a parent object of the start directory
- isPathSeparatorChar(char) - Static method in class com.helger.io.file.FilenameHelper
-
Check if the passed character is a path separation character.
- isProcessing() - Method in class com.helger.io.watchdir.WatchDir
-
Check if processing is active.
- isReadMultiple() - Method in class com.helger.io.resource.ClassPathResource
-
Check if this resource can be read multiple times.
- isReadMultiple() - Method in class com.helger.io.resource.FileSystemResource
-
Check if this resource can be read multiple times.
- isReadMultiple() - Method in class com.helger.io.resource.inmemory.ReadableResourceByteArray
- isReadMultiple() - Method in class com.helger.io.resource.inmemory.ReadableResourceInputStream
- isReadMultiple() - Method in class com.helger.io.resource.URLResource
-
Check if this resource can be read multiple times.
- isReadMultiple() - Method in interface com.helger.io.resource.wrapped.IWrappedReadableResource
- isRecursive() - Method in class com.helger.io.watchdir.WatchDir
- isSecureFilenameCharacter(char) - Static method in class com.helger.io.file.FilenameHelper
-
Check if the passed character is secure to be used in filenames.
- isSuccess() - Method in enum class com.helger.io.file.EFileIOErrorCode
- isSuccess() - Method in class com.helger.io.file.FileIOError
-
Check if this error represents a successful operation.
- isSystemInternalDirectory(File) - Static method in class com.helger.io.file.FilenameHelper
-
Check if the passed file is a system directory.
- isSystemInternalDirectory(CharSequence) - Static method in class com.helger.io.file.FilenameHelper
-
Check if the passed string is a system directory.
- isSystemInternalDirectory(Path) - Static method in class com.helger.io.file.FilenameHelper
-
Check if the passed file is a system directory.
- isUNCPath(File) - Static method in class com.helger.io.file.FilenameHelper
-
Check if the passed file is an UNC path.
- isUNCPath(String) - Static method in class com.helger.io.file.FilenameHelper
-
Check if the passed file is an UNC path.
- isValidFilename(String) - Static method in class com.helger.io.file.FilenameHelper
-
Check if the passed file name is valid.
- isValidFilenameWithPaths(String) - Static method in class com.helger.io.file.FilenameHelper
-
Check if the passed filename path is valid.
- isWarnOnIssues() - Static method in class com.helger.io.file.FileHelper
-
Check if warnings on file operation issues are enabled.
- isWindowsLocalUNCPath(File) - Static method in class com.helger.io.file.FilenameHelper
-
Check if the passed file is a Windows local UNC path.
- isWindowsLocalUNCPath(String) - Static method in class com.helger.io.file.FilenameHelper
-
Check if the passed file is a Windows local UNC path.
- isWriteMultiple() - Method in class com.helger.io.resource.FileSystemResource
-
Check if this resource can be written multiple times.
- isWriteMultiple() - Method in interface com.helger.io.resource.wrapped.IWrappedWritableResource
- IWatchDirCallback - Interface in com.helger.io.watchdir
-
The callback interface to be implemented to get notified about changes in a directory in the
WatchDirclass. - IWrappedReadableResource - Interface in com.helger.io.resource.wrapped
-
Interface for readable resources that are "wrapped".
- IWrappedWritableResource - Interface in com.helger.io.resource.wrapped
-
Interface for writable resources that are "wrapped".
- IWritableResource - Interface in com.helger.io.resource
-
Base interface for an abstract writable resource.
- IWritableResourceProvider - Interface in com.helger.io.resourceprovider
-
Resource provider interface for readable and writable resources.
- IWriterProvider - Interface in com.helger.io.provider
-
A callback interface to retrieve
Writerobjects from a given name.
K
- KB_SUFFIX - Static variable in class com.helger.io.misc.SizeHelper
-
Suffix for Kilobytes
L
- loadProperties(IReadableResource) - Static method in class com.helger.io.rt.PropertiesLoader
-
Load properties from the given readable resource using the default charset.
- loadProperties(IReadableResource, Charset) - Static method in class com.helger.io.rt.PropertiesLoader
-
Load properties from the given readable resource using the specified charset.
- loadProperties(File) - Static method in class com.helger.io.rt.PropertiesLoader
-
Load properties from the given file using the default charset.
- loadProperties(File, Charset) - Static method in class com.helger.io.rt.PropertiesLoader
-
Load properties from the given file using the specified charset.
- LoggingFileOperationCallback - Class in com.helger.io.file
-
A logging implementation of the
IFileOperationCallbackinterface. - LoggingFileOperationCallback() - Constructor for class com.helger.io.file.LoggingFileOperationCallback
M
- m_aWritableResourceProviders - Variable in class com.helger.io.resourceprovider.WritableResourceProviderChain
- MB_SUFFIX - Static variable in class com.helger.io.misc.SizeHelper
-
Suffix for Megabytes
- MODIFY - Enum constant in enum class com.helger.io.watchdir.EWatchDirAction
N
- next() - Method in class com.helger.io.file.FileSystemRecursiveIterator
- NO_ERROR - Enum constant in enum class com.helger.io.file.EFileIOErrorCode
-
Generic error code: no error.
O
- OBJECT_CANNOT_BE_HANDLED - Enum constant in enum class com.helger.io.file.EFileIOErrorCode
-
We stumble across an object that is neither a file nor a directory.
- OBJECT_HAS_NO_PARENT - Enum constant in enum class com.helger.io.file.EFileIOErrorCode
-
An object's parent could not be retrieved.
- onAction(EWatchDirAction, Path) - Method in interface com.helger.io.watchdir.IWatchDirCallback
-
Generic callback method
- onError(EFileIOOperation, EFileIOErrorCode, File, File, Exception) - Method in interface com.helger.io.file.IFileOperationCallback
-
Called upon operation error.
- onError(EFileIOOperation, EFileIOErrorCode, File, File, Exception) - Method in class com.helger.io.file.LoggingFileOperationCallback
- onSuccess(EFileIOOperation, File, File) - Method in interface com.helger.io.file.IFileOperationCallback
-
Called upon operation success.
- onSuccess(EFileIOOperation, File, File) - Method in class com.helger.io.file.LoggingFileOperationCallback
- OPERATION_FAILED - Enum constant in enum class com.helger.io.file.EFileIOErrorCode
-
Generic error code: operation failed but we don't know why.
P
- parentDirectoryPublic() - Static method in interface com.helger.io.file.IFileFilter
- PATH_CURRENT - Static variable in class com.helger.io.file.FilenameHelper
-
Special name of the current path
- PATH_PARENT - Static variable in class com.helger.io.file.FilenameHelper
-
Special name of the parent path
- PathHelper - Class in com.helger.io.file
-
Miscellaneous file utility methods.
- PathOperations - Class in com.helger.io.file
-
Wraps file operations.
- PathRelativeIO - Class in com.helger.io.relative
-
Default implementation of
IPathRelativeIO. - PathRelativeIO(String) - Constructor for class com.helger.io.relative.PathRelativeIO
-
Constructor.
- PB_SUFFIX - Static variable in class com.helger.io.misc.SizeHelper
-
Suffix for Petabytes
- processEvents() - Method in class com.helger.io.watchdir.WatchDir
-
Process all events for keys queued to the watcher.
- PropertiesLoader - Class in com.helger.io.rt
-
Helper class to ease the use of
Propertiesclass.
R
- read() - Method in class com.helger.io.stream.CountingFileInputStream
- read(byte[]) - Method in class com.helger.io.stream.CountingFileInputStream
- read(byte[], int, int) - Method in class com.helger.io.stream.CountingFileInputStream
- READ_ONLY - Enum constant in enum class com.helger.io.file.ERandomAccessFileMode
-
Open for reading only.
- READ_WRITE - Enum constant in enum class com.helger.io.file.ERandomAccessFileMode
-
Open for reading and writing.
- READ_WRITE_SYNCHRONOUSLY - Enum constant in enum class com.helger.io.file.ERandomAccessFileMode
-
Open for reading and writing, as with
"rw", and also require that every update to the file's content or metadata be written synchronously to the underlying storage device. - READ_WRITE_SYNCHRONOUSLY_ONLY_CONTENT - Enum constant in enum class com.helger.io.file.ERandomAccessFileMode
-
Open for reading and writing, as with
"rw", and also require that every update to the file's content be written synchronously to the underlying storage device. - ReadableResourceByteArray - Class in com.helger.io.resource.inmemory
-
An in-memory
IReadableResourcebased on a byte array. - ReadableResourceByteArray(byte[]) - Constructor for class com.helger.io.resource.inmemory.ReadableResourceByteArray
-
Constructor using the full byte array with default copy behavior.
- ReadableResourceByteArray(byte[], boolean) - Constructor for class com.helger.io.resource.inmemory.ReadableResourceByteArray
-
Constructor using the full byte array with explicit copy behavior.
- ReadableResourceByteArray(byte[], int, int) - Constructor for class com.helger.io.resource.inmemory.ReadableResourceByteArray
-
Constructor using a sub-range of the byte array with default copy behavior.
- ReadableResourceByteArray(byte[], int, int, boolean) - Constructor for class com.helger.io.resource.inmemory.ReadableResourceByteArray
-
Constructor using a sub-range of the byte array with explicit copy behavior.
- ReadableResourceByteArray(String, byte[]) - Constructor for class com.helger.io.resource.inmemory.ReadableResourceByteArray
-
Constructor with resource ID using the full byte array with default copy behavior.
- ReadableResourceByteArray(String, byte[], boolean) - Constructor for class com.helger.io.resource.inmemory.ReadableResourceByteArray
-
Constructor with resource ID using the full byte array with explicit copy behavior.
- ReadableResourceByteArray(String, byte[], int, int) - Constructor for class com.helger.io.resource.inmemory.ReadableResourceByteArray
-
Constructor with resource ID using a sub-range with default copy behavior.
- ReadableResourceByteArray(String, byte[], int, int, boolean) - Constructor for class com.helger.io.resource.inmemory.ReadableResourceByteArray
-
Full constructor with resource ID, sub-range and explicit copy behavior.
- ReadableResourceInputStream - Class in com.helger.io.resource.inmemory
-
An in-memory
IReadableResourcebased on anInputStream. - ReadableResourceInputStream(String, InputStream) - Constructor for class com.helger.io.resource.inmemory.ReadableResourceInputStream
-
Constructor to use.
- ReadableResourceProviderChain - Class in com.helger.io.resourceprovider
-
A readable resource provider that chains multiple
IReadableResourceProvider. - ReadableResourceProviderChain(IReadableResourceProvider...) - Constructor for class com.helger.io.resourceprovider.ReadableResourceProviderChain
-
Constructor with a varargs array of resource providers.
- ReadableResourceProviderChain(Iterable<? extends IReadableResourceProvider>) - Constructor for class com.helger.io.resourceprovider.ReadableResourceProviderChain
-
Constructor with an iterable of resource providers.
- ReadableResourceString - Class in com.helger.io.resource.inmemory
-
An in-memory
IReadableResourcebased on aStringwhich is converted to a byte array with the provided charset. - ReadableResourceString(String, Charset) - Constructor for class com.helger.io.resource.inmemory.ReadableResourceString
-
Constructor with automatic resource ID.
- ReadableResourceString(String, String, Charset) - Constructor for class com.helger.io.resource.inmemory.ReadableResourceString
-
Constructor with explicit resource ID.
- readAllLines(Path, Charset) - Static method in class com.helger.io.file.SimpleFileIO
-
Read all lines from a file.
- readAndUpdateIDCounter(int) - Method in class com.helger.io.id.factory.FileIntIDFactory
- readAndUpdateIDCounter(int) - Method in class com.helger.io.id.factory.FileLongIDFactory
- readFileLines(File, Charset, List<String>) - Static method in class com.helger.io.file.SimpleFileIO
-
Get the content of the passed file as a list of lines, whereas each line does not contain a separator.
- readFileLines(File, Charset, Consumer<? super String>) - Static method in class com.helger.io.file.SimpleFileIO
-
Get the content of the passed file as a list of lines, whereas each line does not contain a separator.
- readingResourceProviders() - Method in class com.helger.io.resourceprovider.ReadableResourceProviderChain
- readStreamLines(IHasInputStream, Charset) - Static method in class com.helger.io.stream.StreamHelperExt
-
Get the content of the passed Spring resource as one big string in the passed character set.
- readStreamLines(IHasInputStream, Charset, int, int) - Static method in class com.helger.io.stream.StreamHelperExt
-
Get the content of the passed Spring resource as one big string in the passed character set.
- readStreamLines(InputStream, Charset) - Static method in class com.helger.io.stream.StreamHelperExt
-
Get the content of the passed stream as a list of lines in the passed character set.
- readStreamLines(InputStream, Charset, int, int, Consumer<? super String>) - Static method in class com.helger.io.stream.StreamHelperExt
-
Read the content of the passed stream line by line and invoking a callback on all matching lines.
- readStreamLines(InputStream, Charset, Consumer<? super String>) - Static method in class com.helger.io.stream.StreamHelperExt
-
Read the complete content of the passed stream and pass each line separately to the passed callback.
- readStreamLines(InputStream, Charset, int, int) - Static method in class com.helger.io.stream.StreamHelperExt
-
Get the content of the passed stream as a list of lines in the passed character set.
- readStreamLines(InputStream, Charset, List<String>) - Static method in class com.helger.io.stream.StreamHelperExt
-
Get the content of the passed stream as a list of lines in the passed character set.
- recurseIntoDirectory(File) - Method in class com.helger.io.file.FileSystemRecursiveIterator
-
Override this method to manually filter the directories, which are recursed into.
- registerTypeConverter(ITypeConverterRegistry) - Method in class com.helger.io.typeconvert.IOTypeConverterRegistrar
- release(FileLock) - Static method in class com.helger.io.channel.ChannelHelper
-
Release the passed file lock if it is not
null. - RENAME_DIR - Enum constant in enum class com.helger.io.file.EFileIOOperation
- RENAME_FILE - Enum constant in enum class com.helger.io.file.EFileIOOperation
- renameDir(File, File) - Method in class com.helger.io.file.FileOperationManager
-
Rename a directory.
- renameDir(File, File) - Static method in class com.helger.io.file.FileOperations
-
Rename a directory.
- renameDir(File, File) - Method in interface com.helger.io.file.IFileOperationManager
-
Rename a directory.
- renameDir(String, String) - Method in interface com.helger.io.relative.IFileRelativeIO
-
Rename a directory relative to the base path.
- renameDir(Path, Path) - Static method in class com.helger.io.file.PathOperations
-
Rename a directory.
- renameFile(File, File) - Method in class com.helger.io.file.FileOperationManager
-
Rename a file.
- renameFile(File, File) - Static method in class com.helger.io.file.FileOperations
-
Rename a file.
- renameFile(File, File) - Method in interface com.helger.io.file.IFileOperationManager
-
Rename a file.
- renameFile(String, String) - Method in interface com.helger.io.relative.IFileRelativeIO
-
Rename a file relative to the base path.
- renameFile(Path, Path) - Static method in class com.helger.io.file.PathOperations
-
Rename a file.
- runAsync() - Method in class com.helger.io.watchdir.WatchDir
-
Call this method to process events.
- runAsyncAndReturn() - Method in class com.helger.io.watchdir.WatchDir
-
Call this method to process events.
S
- saveFile(String, byte[]) - Method in interface com.helger.io.relative.IFileRelativeIO
-
Helper function for saving a file with correct error handling.
- saveFile(String, String, Charset) - Method in interface com.helger.io.relative.IFileRelativeIO
-
Helper function for saving a file with correct error handling.
- SECURITY_ERROR - Enum constant in enum class com.helger.io.file.EFileIOErrorCode
-
Generic error code: a SecurityException occurred.
- setCanReadRelativePaths(boolean) - Method in class com.helger.io.resourceprovider.FileSystemResourceProvider
-
Enable or disable reading of relative paths.
- setDebugResolve(boolean) - Static method in class com.helger.io.resourceresolver.DefaultResourceResolver
-
Enable or disable debug logging for resource resolving.
- setExceptionOnDeleteRoot(boolean) - Static method in class com.helger.io.file.FileOperations
-
Enable or disable the exception that is thrown when trying to delete the root directory.
- setExceptionOnDeleteRoot(boolean) - Static method in class com.helger.io.file.PathOperations
-
Enable or disable the exception that is thrown when trying to delete the root directory.
- setPath(String) - Method in class com.helger.io.resource.inmemory.AbstractMemoryReadableResource
-
Set the path of this in-memory resource.
- setWarnOnIssues(boolean) - Static method in class com.helger.io.file.FileHelper
-
Enable or disable warnings on file operation issues.
- SimpleFileIO - Class in com.helger.io.file
-
All kind of file handling stuff.
- size() - Method in class com.helger.io.resource.inmemory.ReadableResourceByteArray
- SizeHelper - Class in com.helger.io.misc
-
A utility class that converts sizes into the corresponding Kilobyte, Megabyte etc. notation.
This class is not thread-safe, because theDecimalFormatclass is not thread-safe! - SizeHelper(DecimalFormatSymbols) - Constructor for class com.helger.io.misc.SizeHelper
-
Constructor using explicit decimal format symbols.
- SizeHelper(Locale) - Constructor for class com.helger.io.misc.SizeHelper
-
Constructor using a display locale to determine the decimal format symbols.
- SOURCE_DOES_NOT_EXIST - Enum constant in enum class com.helger.io.file.EFileIOErrorCode
-
A source file or directory does not exist.
- SOURCE_EQUALS_TARGET - Enum constant in enum class com.helger.io.file.EFileIOErrorCode
-
Source and destination object are identical.
- SOURCE_NOT_READABLE - Enum constant in enum class com.helger.io.file.EFileIOErrorCode
-
The source object cannot be read.
- SOURCE_PARENT_NOT_WRITABLE - Enum constant in enum class com.helger.io.file.EFileIOErrorCode
-
The source parent object is read-only (not writable).
- startsWithPathSeparatorChar(CharSequence) - Static method in class com.helger.io.file.FilenameHelper
-
Check if the passed character sequence starts with a path separation character.
- stopProcessing() - Method in class com.helger.io.watchdir.WatchDir
-
Stop processing, if
WatchDir.processEvents()is active. - StreamHelperExt - Class in com.helger.io.stream
-
Some very basic IO stream utility stuff.
- supportsReading(String) - Method in class com.helger.io.resourceprovider.ClassPathResourceProvider
-
Check if this resource provider can handle the resource with the passed name.
- supportsReading(String) - Method in class com.helger.io.resourceprovider.FileSystemResourceProvider
-
Check if this resource provider can handle the resource with the passed name.
- supportsReading(String) - Method in interface com.helger.io.resourceprovider.IReadableResourceProvider
-
Check if this resource provider can handle the resource with the passed name.
- supportsReading(String) - Method in class com.helger.io.resourceprovider.ReadableResourceProviderChain
-
Check if this resource provider can handle the resource with the passed name.
- supportsReading(String) - Method in class com.helger.io.resourceprovider.URLResourceProvider
-
Check if this resource provider can handle the resource with the passed name.
- supportsWriting(String) - Method in class com.helger.io.resourceprovider.FileSystemResourceProvider
-
Check if this resource provider can handle the resource with the passed name.
- supportsWriting(String) - Method in interface com.helger.io.resourceprovider.IWritableResourceProvider
-
Check if this resource provider can handle the resource with the passed name.
- supportsWriting(String) - Method in class com.helger.io.resourceprovider.WritableResourceProviderChain
-
Check if this resource provider can handle the resource with the passed name.
T
- TARGET_ALREADY_EXISTS - Enum constant in enum class com.helger.io.file.EFileIOErrorCode
-
A destination file or directory already exists.
- TARGET_IS_CHILD_OF_SOURCE - Enum constant in enum class com.helger.io.file.EFileIOErrorCode
-
Avoid recursive dependencies.
- TARGET_PARENT_NOT_WRITABLE - Enum constant in enum class com.helger.io.file.EFileIOErrorCode
-
The target parent object is read-only (not writable).
- TB_SUFFIX - Static variable in class com.helger.io.misc.SizeHelper
-
Suffix for Terabytes
- toString() - Method in class com.helger.io.file.FileIOError
- toString() - Method in class com.helger.io.file.FileOperationManager
- toString() - Method in class com.helger.io.file.FileSystemRecursiveIterator
- toString() - Method in class com.helger.io.id.factory.FileIntIDFactory
- toString() - Method in class com.helger.io.id.factory.FileLongIDFactory
- toString() - Method in class com.helger.io.misc.SizeHelper
- toString() - Method in class com.helger.io.provider.FileSystemByteStreamProvider
- toString() - Method in class com.helger.io.provider.FileSystemCharStreamProvider
- toString() - Method in class com.helger.io.relative.FileRelativeIO
- toString() - Method in class com.helger.io.relative.PathRelativeIO
- toString() - Method in class com.helger.io.resource.ClassPathResource
- toString() - Method in class com.helger.io.resource.FileSystemResource
- toString() - Method in class com.helger.io.resource.inmemory.AbstractMemoryReadableResource
- toString() - Method in class com.helger.io.resource.inmemory.ReadableResourceByteArray
- toString() - Method in class com.helger.io.resource.inmemory.ReadableResourceInputStream
- toString() - Method in class com.helger.io.resource.URLResource
- toString() - Method in class com.helger.io.resource.wrapped.AbstractWrappedReadableResource
- toString() - Method in class com.helger.io.resource.wrapped.AbstractWrappedWritableResource
- toString() - Method in class com.helger.io.resourceprovider.ClassPathResourceProvider
- toString() - Method in class com.helger.io.resourceprovider.FileSystemResourceProvider
- toString() - Method in class com.helger.io.resourceprovider.ReadableResourceProviderChain
- toString() - Method in class com.helger.io.resourceprovider.URLResourceProvider
- toString() - Method in class com.helger.io.resourceprovider.WritableResourceProviderChain
- toString() - Method in class com.helger.io.stream.CountingFileOutputStream
U
- UNIX_SEPARATOR - Static variable in class com.helger.io.file.FilenameHelper
-
The Unix path separator character.
- UNIX_SEPARATOR_STR - Static variable in class com.helger.io.file.FilenameHelper
-
The Unix path separator string.
- UNIX_UNC_PREFIX - Static variable in class com.helger.io.file.FilenameHelper
-
The prefix to identify UNC paths on Unix based systems
- URLCleanser - Class in com.helger.io.url
-
URL cleanser.
- URLResource - Class in com.helger.io.resource
-
Implementation of the
IReadableResourceinterface for URL objects. - URLResource(String) - Constructor for class com.helger.io.resource.URLResource
-
Create a new URL resource from a URL string.
- URLResource(URI) - Constructor for class com.helger.io.resource.URLResource
-
Create a new URL resource from a URI.
- URLResource(URL) - Constructor for class com.helger.io.resource.URLResource
-
Create a new URL resource from a URL.
- URLResourceProvider - Class in com.helger.io.resourceprovider
-
The URL resource provider.
- URLResourceProvider() - Constructor for class com.helger.io.resourceprovider.URLResourceProvider
- utf8(String) - Static method in class com.helger.io.resource.inmemory.ReadableResourceString
-
Factory method to create a UTF-8 encoded readable resource string.
- utf8(String, String) - Static method in class com.helger.io.resource.inmemory.ReadableResourceString
-
Factory method to create a UTF-8 encoded readable resource string with a custom resource ID.
V
- valueOf(String) - Static method in enum class com.helger.io.file.EFileIOErrorCode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.helger.io.file.EFileIOOperation
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.helger.io.file.ERandomAccessFileMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.helger.io.watchdir.EWatchDirAction
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.helger.io.file.EFileIOErrorCode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.helger.io.file.EFileIOOperation
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.helger.io.file.ERandomAccessFileMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.helger.io.watchdir.EWatchDirAction
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- walkFileTree(Path, int, FileVisitor<? super Path>) - Static method in class com.helger.io.file.PathHelper
-
Walk a file tree with no
FileVisitOptions. - walkFileTree(Path, Set<FileVisitOption>, int, FileVisitor<? super Path>) - Static method in class com.helger.io.file.PathHelper
-
Walks a file tree.
- WatchDir - Class in com.helger.io.watchdir
-
Generic directory watching service using the default JDK
WatchServiceclass. - WatchDir(Path, boolean) - Constructor for class com.helger.io.watchdir.WatchDir
-
Creates a WatchService and registers the given directory
- WINDOWS_SEPARATOR - Static variable in class com.helger.io.file.FilenameHelper
-
The Windows separator character.
- WINDOWS_SEPARATOR_STR - Static variable in class com.helger.io.file.FilenameHelper
-
The Windows separator string.
- WINDOWS_UNC_PREFIX - Static variable in class com.helger.io.file.FilenameHelper
-
The prefix to identify UNC paths on Windows based systems
- WINDOWS_UNC_PREFIX_LOCAL1 - Static variable in class com.helger.io.file.FilenameHelper
-
The prefix to identify local UNC paths on Windows based systems.
Those no longer work in files in certain Java versions. - WINDOWS_UNC_PREFIX_LOCAL2 - Static variable in class com.helger.io.file.FilenameHelper
-
The prefix to identify local UNC paths on Windows based systems
Those no longer work in files in certain Java versions. - withoutErrorCode() - Method in class com.helger.io.file.FileIOError
-
Create a copy of this error with the error code reset to
EFileIOErrorCode.NO_ERROR. - WritableResourceProviderChain - Class in com.helger.io.resourceprovider
-
A resource provider chain implementation of
IWritableResourceProvider. - WritableResourceProviderChain(IReadableResourceProvider...) - Constructor for class com.helger.io.resourceprovider.WritableResourceProviderChain
-
Constructor with a varargs array of resource providers.
- WritableResourceProviderChain(Iterable<? extends IReadableResourceProvider>) - Constructor for class com.helger.io.resourceprovider.WritableResourceProviderChain
-
Constructor with an iterable of resource providers.
- write(byte[]) - Method in class com.helger.io.stream.CountingFileOutputStream
- write(byte[], int, int) - Method in class com.helger.io.stream.CountingFileOutputStream
- write(int) - Method in class com.helger.io.stream.CountingFileOutputStream
- writeFile(File, byte[]) - Static method in class com.helger.io.file.SimpleFileIO
-
Write the passed byte array to the specified file.
- writeFile(File, byte[], int, int) - Static method in class com.helger.io.file.SimpleFileIO
-
Write a portion of the passed byte array to the specified file.
- writeFile(File, String, Charset) - Static method in class com.helger.io.file.SimpleFileIO
-
Write the passed string to the specified file using the given charset.
- writeFile(String, EAppend, byte[]) - Method in interface com.helger.io.relative.IFileRelativeIO
-
Helper function for saving a file with correct error handling.
All Classes and Interfaces|All Packages|Constant Field Values