Uses of Interface
io.confound.config.file.ConfigurationFileFormat
-
-
Uses of ConfigurationFileFormat in io.confound.config.file
Methods in io.confound.config.file that return types with arguments of type ConfigurationFileFormat Modifier and Type Method Description protected static java.lang.Iterable<ConfigurationFileFormat>
AbstractFileConfigurationManager. defaultFileFormats()
Determines the default configuration file formats.java.util.Optional<ConfigurationFileFormat>
FileSystemConfigurationManager. getFileFormat(java.nio.file.Path path)
Determines the file format to use for the given path based on the registered formats and the path filename extension(s).java.util.Optional<ConfigurationFileFormat>
ResourcesConfigurationManager. getFileFormat(java.lang.String resourcePath)
Determines the file format to use for the given path based on the registered formats and the path filename extension(s).java.util.Optional<ConfigurationFileFormat>
AbstractFileConfigurationManager. getFileFormatForExtension(java.lang.String id)
Determines the file format to use for the given filename extension.java.util.Optional<ConfigurationFileFormat>
AbstractFileConfigurationManager. getFileFormatForFilename(java.lang.CharSequence filename)
Determines the file format to use for the given filename based on the registered formats and the filename extension(s).java.util.Set<java.util.Map.Entry<java.lang.String,ConfigurationFileFormat>>
AbstractFileConfigurationManager. getFileFormatsByExtension()
Methods in io.confound.config.file with parameters of type ConfigurationFileFormat Modifier and Type Method Description FileSystemConfigurationManager.Builder
FileSystemConfigurationManager.Builder. fileFormat(ConfigurationFileFormat fileFormat)
Sets a single file format to be supported by the configuration manager.ResourcesConfigurationManager.Builder
ResourcesConfigurationManager.Builder. fileFormat(ConfigurationFileFormat fileFormat)
Sets a single file format to be supported by the configuration manager.Method parameters in io.confound.config.file with type arguments of type ConfigurationFileFormat Modifier and Type Method Description FileSystemConfigurationManager.Builder
FileSystemConfigurationManager.Builder. fileFormats(java.lang.Iterable<ConfigurationFileFormat> fileFormats)
Sets the file formats to be supported by the configuration manager.ResourcesConfigurationManager.Builder
ResourcesConfigurationManager.Builder. fileFormats(java.lang.Iterable<ConfigurationFileFormat> fileFormats)
Sets the file formats to be supported by the configuration manager.Constructor parameters in io.confound.config.file with type arguments of type ConfigurationFileFormat Constructor Description AbstractFileConfigurationManager(java.lang.Iterable<ConfigurationFileFormat> fileFormats, boolean required)
Configuration file formats constructor.FileSystemConfigurationManager(java.lang.Iterable<ConfigurationFileFormat> fileFormats, java.util.function.Supplier<java.util.stream.Stream<java.nio.file.Path>> configurationFileCandidatePathsSupplier, boolean required)
File formats, candidate paths supplier, and optional required constructor.ResourcesConfigurationManager(java.lang.Iterable<ConfigurationFileFormat> fileFormats, java.lang.ClassLoader classLoader, java.lang.String resourcePath, java.lang.String resourceBaseName, boolean required)
File formats, class loader, resource (base) path, resource base name, and optional required constructor.
-