public class ConfigureFile extends java.lang.Object implements ConfigureInterface
Modifier and Type | Field and Description |
---|---|
protected java.io.File |
configFile |
protected INIFileReader |
reader |
protected java.util.Vector |
store |
Constructor and Description |
---|
ConfigureFile()
Empty Constructor for Configure.
|
ConfigureFile(java.io.File configFile)
Primary Constructor for Configure.
|
Modifier and Type | Method and Description |
---|---|
void |
addConfigureInterface(ConfigureInterface configSource)
Add a ConfigureInterface to the search chain for Named Values.
|
java.lang.String |
getConfigurePaths()
Retrieve a String containing a File.pathSeparator delimited list of
all the file paths in the configuration file chain.
|
java.lang.String |
getNamedValue(java.lang.String keyName,
java.lang.String itemName)
Retrieve an item that may be in the configuration sources.
|
void |
insertConfigureInterface(ConfigureInterface configSource)
Insert a ConfigureInterface to the search chain for Named Values.
|
void |
setConfigurationFile(java.io.File configFile)
The File object must represent a readable INI file and will be used to
initialize an internal INIFileReader.
|
protected java.io.File configFile
protected java.util.Vector store
protected INIFileReader reader
public ConfigureFile()
public ConfigureFile(java.io.File configFile)
public void setConfigurationFile(java.io.File configFile)
public void addConfigureInterface(ConfigureInterface configSource)
ConfigureInterface
addConfigureInterface
in interface ConfigureInterface
ConfigureInterface.addConfigureInterface(ConfigureInterface)
public void insertConfigureInterface(ConfigureInterface configSource)
ConfigureInterface
insertConfigureInterface
in interface ConfigureInterface
ConfigureInterface.insertConfigureInterface(ConfigureInterface)
public java.lang.String getNamedValue(java.lang.String keyName, java.lang.String itemName)
ConfigureInterface
getNamedValue
in interface ConfigureInterface
ConfigureInterface.getNamedValue(String, String)
public java.lang.String getConfigurePaths()
ConfigureInterface
getConfigurePaths
in interface ConfigureInterface
ConfigureInterface.getConfigurePaths()
Copyright © SAS Institute. All Rights Reserved.