org.qi4j.library.fileconfig
Interface FileConfiguration
- All Superinterfaces:
- Activatable, Composite, Identity, ServiceComposite
- All Known Implementing Classes:
- FileConfiguration.Mixin
@Mixins(value=FileConfiguration.Mixin.class)
public interface FileConfiguration
- extends ServiceComposite, Activatable
Service for accessing application-specific directories. These will default to
the platform settings, but can be overridden manually, either one-by-one or as a whole.
Services will most likely want to create their own subdirectories in the directories accessed
from here.
os
FileConfiguration.OS os()
user
File user()
configurationDirectory
File configurationDirectory()
dataDirectory
File dataDirectory()
temporaryDirectory
File temporaryDirectory()
cacheDirectory
File cacheDirectory()
logDirectory
File logDirectory()