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
ConstructorsConstructorDescriptionApplication directories on UNIX-like platforms. -
Method Summary
Modifier and TypeMethodDescriptionbooleaninitialize(ApplicationProviderContextType configuration, ApplicationEnvironmentType environment) Initialize the provider, returningtrueif the provider is applicable to the current application environment and operating system.final voidsetSystemSelection(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:ApplicationDirectoryProviderTypeInitialize the provider, returningtrueif the provider is applicable to the current application environment and operating system.- Parameters:
configuration- The contextenvironment- The environment- Returns:
trueif 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
-