Package me.a8kj.config.file
Interface PathProvider
public interface PathProvider
Provides a base directory context for resolving configuration file paths.
This interface abstracts the file system location, allowing configurations
to be stored relative to a specific root folder.
- Since:
- 0.1
- Author:
- a8kj7sea
-
Method Summary
-
Method Details
-
getBaseDirectory
Path getBaseDirectory()Retrieves the root directory from which all configuration paths are resolved.- Returns:
- the base
Pathdirectory. - Since:
- 0.1
-
resolve
Resolves a relative path string against the base directory to produce aFileobject.- Parameters:
relativePath- the relative path to the configuration file.- Returns:
- a
Fileobject representing the resolved path. - Since:
- 0.1
-