public interface FileConfiguration
These will default to the platform settings, but can be overridden manually, either one-by-one or as a whole.
You can override defaults by adding org.apache.polygene.library.fileconfig.FileConfiguration_OS.properties files to your classpath where OS is one of win, mac or unix.
You can also override all properties definitions at assembly time by setting a FileConfigurationOverride object as meta info of this service.
Services will most likely want to create their own subdirectories in the directories accessed from here.
Modifier and Type | Interface and Description |
---|---|
static class |
FileConfiguration.OS |
Modifier and Type | Method and Description |
---|---|
File |
cacheDirectory() |
File |
configurationDirectory() |
File |
dataDirectory() |
File |
logDirectory() |
FileConfiguration.OS |
os() |
File |
temporaryDirectory() |
File |
user() |