org.tm4j.tmnav.env .TMNavUserDir
Description
This class manages the UserDirectory of TMNav where all the individual settings files goes.
Inheritance Hierarchy
- java.lang.Object
- TMNavUserDir
Field Summary | |
---|---|
FILE_SEP | |
PANCKOUCKE_CONTEXT | |
ROOT_DEFAULT_RESOURCES | |
TMNAV_DIR_NAME | |
TMNAV_ENVIRONMENT | |
TMNAV_SETTINGS |
Method Summary | |
---|---|
void |
getConfig(org.tm4j.tmnav.env.TMNavEnvironment env)
parses the tmnav-enviroment-file. returns a freshly created and initialized instance of TMNavConfig |
org.tm4j.panckoucke.context.PanckouckeContext |
getPanckouckeContext(org.tm4j.tmnav.env.TMNavEnvironment conf)
Initialises PanckouckeContext. The context is read from the path that is returned by TMNavUserDir#getPanckouckeContextFilename() The ContextFactory to use is determined by a call to TMNavEnvironment#getPanckouckeFactory() Any Exception, that is raised during the creation of the context will be passed through to the caller. There should be little need for application developers to call this method. Nevertheless, calling this method incidentially should do harm to TMNav. |
java.lang.String | getPanckouckeContextFilename() |
void |
getSettings(org.tm4j.tmnav.env.TMNavSettings settings)
parses the tmnav-settings-file in user-dir. returns a freshly created and initialized instance of TMNavSettings |
java.lang.String | getTMNavConfigFilename() |
java.lang.String | getTMNavSettingsFilename() |
java.lang.String | getUserDir() |