Package com.io7m.jade.vanilla
Class ApplicationDirectoriesUnix
java.lang.Object
com.io7m.jade.vanilla.ApplicationDirectoriesUnix
- All Implemented Interfaces:
ApplicationDirectoryProviderType
Application directories on UNIX-like platforms.
-
Constructor Summary
ConstructorDescriptionApplication directories on UNIX-like platforms. -
Method Summary
Modifier and TypeMethodDescriptionboolean
initialize
(ApplicationProviderContextType configuration, ApplicationEnvironmentType environment) Initialize the provider, returningtrue
if the provider is applicable to the current application environment and operating system.final void
setSystemSelection
(SystemSelection inSystemSelection) final SystemSelection
-
Constructor Details
-
ApplicationDirectoriesUnix
public ApplicationDirectoriesUnix()Application directories on UNIX-like platforms.
-
-
Method Details
-
initialize
public boolean initialize(ApplicationProviderContextType configuration, ApplicationEnvironmentType environment) Description copied from interface:ApplicationDirectoryProviderType
Initialize the provider, returningtrue
if the provider is applicable to the current application environment and operating system.- Parameters:
configuration
- The contextenvironment
- The environment- Returns:
true
if this provider is applicable
-
configurationDirectory
- Returns:
- A single base directory relative to which user-specific configuration files should be written.
-
dataDirectory
- Returns:
- The directory that contains data files
-
cacheDirectory
- Returns:
- A single base directory relative to which user-specific non-essential (cached) data should be written.
-
setSystemSelection
-
systemSelection
-