Package com.io7m.jade.api
Interface ApplicationDirectoriesType
-
- All Known Implementing Classes:
ApplicationDirectories
public interface ApplicationDirectoriesTypeThe 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.nio.file.PathcacheDirectory()The directory to be used for user-specific non-essential (cached) data.java.nio.file.PathconfigurationDirectory()The directory to be used for configuration files.java.nio.file.PathdataDirectory()The directory to be used for user-specific data files.
-
-
-
Method Detail
-
configurationDirectory
java.nio.file.Path configurationDirectory()
The directory to be used for configuration files.- Returns:
- The directory to be used for user-specific configuration files
-
dataDirectory
java.nio.file.Path dataDirectory()
The directory to be used for user-specific data files.- Returns:
- The directory to be used for user-specific data files
-
cacheDirectory
java.nio.file.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.
-
-