Package com.io7m.jade.api
Interface ApplicationDirectoriesType
- All Known Implementing Classes:
ApplicationDirectories
public interface ApplicationDirectoriesType
The directories available to the application.
The interface exposes something that aims to vaguely represent the conventions
defined by the XDG Base Directory specification. Sensible equivalents are
chosen for operating systems that do not purport to conform to the XDG
standards.
- See Also:
-
- "https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html"
-
Method Summary
Modifier and TypeMethodDescriptionThe directory to be used for user-specific non-essential (cached) data.The directory to be used for configuration files.The directory to be used for user-specific data files.
-
Method Details
-
configurationDirectory
Path configurationDirectory()The directory to be used for configuration files.- Returns:
- The directory to be used for user-specific configuration files
-
dataDirectory
Path dataDirectory()The directory to be used for user-specific data files.- Returns:
- The directory to be used for user-specific data files
-
cacheDirectory
Path cacheDirectory()The directory to be used for user-specific non-essential (cached) data.- Returns:
- The directory to be used for user-specific non-essential (cached) data.
-