public class BundleConfigHome extends ModuleConfigHome
Modifier and Type | Field and Description |
---|---|
static String |
uAAL_CONF_ROOT_DIR
Deprecated.
The root directory of the runtime configuration.
|
confHome
Constructor and Description |
---|
BundleConfigHome(String id)
Deprecated.
Constructor the create a new object for accessing configuration files.
|
Modifier and Type | Method and Description |
---|---|
InputStream |
getConfFileAsStream(File f)
Deprecated.
Get an InputStream for the given File.
|
File |
getPropFile(String nameWithoutExtension)
Deprecated.
Get a
File of the configuration file. |
getAbsolutePath, getConfFileAsOutputStream, getConfFileAsStream, listFiles
public static final String uAAL_CONF_ROOT_DIR
public BundleConfigHome(String id)
ModuleConfigHome.getConfFileAsStream(String)
or
ModuleConfigHome.getConfFileAsOutputStream(String)
.id
- The ID of this module.public InputStream getConfFileAsStream(File f) throws IOException
f
- The file.IOException
public File getPropFile(String nameWithoutExtension)
File
of the configuration file. The file name is created by
the home directory (as created in the constructor), the parameter given
to this method and the suffix ".properties".nameWithoutExtension
- Copyright © 2015 universAAL Consortium. All Rights Reserved.