Uses of Interface
me.a8kj.config.file.PathProvider
Packages that use PathProvider
-
Uses of PathProvider in me.a8kj.config.builder
Methods in me.a8kj.config.builder with parameters of type PathProviderModifier and TypeMethodDescriptionBasicConfigBuilder.at(PathProvider pathProvider) Sets the path provider used to resolve the physical location of the file.PairedConfigBuilder.at(PathProvider pathProvider) Sets the path provider used to determine the storage location of the configuration file.StringConfigBuilder.at(PathProvider pathProvider) Sets the provider responsible for resolving the configuration's file path. -
Uses of PathProvider in me.a8kj.config.file
Methods in me.a8kj.config.file that return PathProviderModifier and TypeMethodDescriptionstatic PathProviderPathProviders.currentDir()Creates a provider that uses the current working directory of the application.static PathProviderCreates a provider that uses a custom string-based absolute path.static PathProviderPathProviders.hybrid(PathProvider primary, PathProvider secondary) Creates a hybrid provider that attempts to use a primary directory if it exists and is writable, otherwise falls back to a secondary directory.static PathProviderCreates a provider that points to the directory where the JAR file of the specified class is located.static PathProviderPathProviders.jarWithUserFallback(Class<?> mainClass) Creates a hybrid provider that prioritizes the JAR's directory and falls back to the user's home directory if the JAR directory is not accessible/writable.static PathProviderPathProviders.tempDir()Creates a provider that points to the system's default temporary directory.static PathProviderPathProviders.userDir()Creates a provider that points to the current user's home directory.Methods in me.a8kj.config.file with parameters of type PathProviderModifier and TypeMethodDescriptionstatic PathProviderPathProviders.hybrid(PathProvider primary, PathProvider secondary) Creates a hybrid provider that attempts to use a primary directory if it exists and is writable, otherwise falls back to a secondary directory.