Package com.io7m.jade.spi
Interface ApplicationDirectoryProviderType
- All Known Implementing Classes:
ApplicationDirectoriesUnix,ApplicationDirectoriesWindows,ApplicationOverrideDirectories,ApplicationPortableDirectories
public interface ApplicationDirectoryProviderType
A provider of application directories.
-
Method Summary
Modifier and TypeMethodDescriptionbooleaninitialize(ApplicationProviderContextType context, ApplicationEnvironmentType environment) Initialize the provider, returningtrueif the provider is applicable to the current application environment and operating system.
-
Method Details
-
initialize
Initialize the provider, returningtrueif the provider is applicable to the current application environment and operating system.- Parameters:
context- The contextenvironment- The environment- Returns:
trueif this provider is applicable
-
configurationDirectory
Path configurationDirectory()- Returns:
- A single base directory relative to which user-specific configuration files should be written.
-
dataDirectory
Path dataDirectory()- Returns:
- The directory that contains data files
-
cacheDirectory
Path cacheDirectory()- Returns:
- A single base directory relative to which user-specific non-essential (cached) data should be written.
-