java.lang.Object
dev.orne.config.impl.PropertiesConfigOptions
Options of
Properties based configuration builder.- Since:
- 1.0
- Version:
- 1.0, 2025-05
- Author:
- (w) Iker Hernaez
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionEmpty constructor.PropertiesConfigOptions(@NotNull PropertiesConfigOptions copy) Copy constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds the specified configuration properties to the configuration properties.voidadd(@NotNull Properties values) Adds the specified configuration properties to the configuration properties.@NotNull PropertiesReturns the configuration properties.voidLoads the configuration properties from the specified file.voidLoads the configuration properties from the specified ClassLoader resource.voidLoads the configuration properties from the specified URL.voidLoads the configuration properties from the file in the specified path.
-
Constructor Details
-
PropertiesConfigOptions
public PropertiesConfigOptions()Empty constructor. -
PropertiesConfigOptions
Copy constructor.- Parameters:
copy- The instance to copy.
-
-
Method Details
-
getProperties
Returns the configuration properties.- Returns:
- The configuration properties.
-
add
Adds the specified configuration properties to the configuration properties.- Parameters:
values- The configuration properties.
-
add
Adds the specified configuration properties to the configuration properties.- Parameters:
values- The configuration properties.
-
load
Loads the configuration properties from the specified ClassLoader resource.- Parameters:
path- The ClassLoader resource path.
-
load
Loads the configuration properties from the file in the specified path.- Parameters:
path- The file path.
-
load
Loads the configuration properties from the specified file.- Parameters:
file- The file to load.
-
load
Loads the configuration properties from the specified URL.- Parameters:
url- The URL to load.
-