Package com.io7m.jade.vanilla
Class ApplicationDirectoriesUnix
- java.lang.Object
-
- com.io7m.jade.vanilla.ApplicationDirectoriesUnix
-
- All Implemented Interfaces:
ApplicationDirectoryProviderType
public final class ApplicationDirectoriesUnix extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ApplicationDirectoriesUnix()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.nio.file.PathcacheDirectory()java.nio.file.PathconfigurationDirectory()java.nio.file.PathdataDirectory()booleaninitialize(ApplicationProviderContextType configuration, ApplicationEnvironmentType environment)Initialize the provider, returningtrueif the provider is applicable to the current application environment and operating system.voidsetSystemSelection(SystemSelection inSystemSelection)SystemSelectionsystemSelection()
-
-
-
Method Detail
-
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
public java.nio.file.Path configurationDirectory()
-
dataDirectory
public java.nio.file.Path dataDirectory()
-
cacheDirectory
public java.nio.file.Path cacheDirectory()
-
setSystemSelection
public final void setSystemSelection(SystemSelection inSystemSelection)
-
systemSelection
public final SystemSelection systemSelection()
-
-