com.ibm.di.admin.ui
Class ExternalFile

java.lang.Object
  extended by com.ibm.di.config.base.BaseConfigurationImpl
      extended by com.ibm.di.admin.ui.ExternalFile
All Implemented Interfaces:
BaseConfiguration, MetamergeConfigChangeListener, Serializable

public class ExternalFile
extends BaseConfigurationImpl

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.ibm.di.config.base.BaseConfigurationImpl
NAME
 
Fields inherited from interface com.ibm.di.config.interfaces.BaseConfiguration
DISABLE_EXTPROPS, DISABLE_INHERITANCE, INHERIT_NONE, INHERIT_PARENT, ONE_LEVEL, RECURSIVE, RECURSIVE_ONELEVEL, RECURSIVE_SUBTREE, SEARCH_EXACTCASE, SEARCH_ONELEVEL, SEARCH_PARAMNAME, SEARCH_PARAMNAME_RE, SEARCH_PROPERTY, SEARCH_REGEX, SUBTREE
 
Constructor Summary
ExternalFile(ExternalPropertiesConfig config)
           
 
Method Summary
 ExternalPropertiesConfig getConfig()
           
 String getFullPath()
           
 String getPath()
          This method returns the path to this object.
 boolean loadFile()
           
 void saveFile()
           
 void saveFile(String path)
           
 
Methods inherited from class com.ibm.di.config.base.BaseConfigurationImpl
addListener, configurationChanged, deepClone, expandPropertyValue, expandPropertyValue, flatten, fromEntry, getBooleanParameter, getChild, getChildForPath, getChildNames, getClone, getData, getDataIterator, getDebug, getDebug, getDebugBreak, getEnabled, getFlags, getInheritsFrom, getInheritsFromRef, getIntegerParameter, getKeys, getLogEnabled, getMetamergeConfig, getModified, getName, getNamespace, getNullBehavior, getNullBehaviorValue, getNullDefinition, getNullDefinitionValue, getParameter, getParameter, getParameter, getParameterPropertySource, getParameterPropertySourceFromValue, getParameterRaw, getParent, getParentName, getReferences, getResHash, getScript, getScriptEngine, getShortName, getStringParameter, getSubstitutionMap, getUseListeners, getUserComment, hasParameter, init, isParameterLocal, nameForChild, notifyChange, notifyChange, performNotifyChange, removeListener, removeParameter, search, search, setBooleanParameter, setChild, setData, setDebug, setDebugBreak, setEnabled, setFlags, setInheritsFrom, setInheritsFromRef, setIntegerParameter, setLogEnabled, setMetamergeConfig, setModified, setName, setName, setNullBehavior, setNullBehaviorValue, setNullDefinition, setNullDefinitionValue, setParameter, setParameter, setParameterPropertySource, setParent, setProtectedParameter, setScript, setScriptEngine, setStringParameter, setSubstitutionMap, setupInheritanceChain, setUseListeners, setUserComment, size, toEntry, toString, updateInheritsFrom, willExpandProps, willFlatten, willUseInherited
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExternalFile

public ExternalFile(ExternalPropertiesConfig config)
Method Detail

getConfig

public ExternalPropertiesConfig getConfig()

getPath

public String getPath()
Description copied from class: BaseConfigurationImpl
This method returns the path to this object. The path can be used to traverse a hierarchy of configuration objects/configuration values. The preferred name is the parent's name for this configuration object since we use the getChild() method to map between names and config objets. We do this since the name of this object can be different than the parent's name for the object, which basically happens when the parent container has several objects with the same name.

Specified by:
getPath in interface BaseConfiguration
Overrides:
getPath in class BaseConfigurationImpl
Returns:
The path to this configuration object

getFullPath

public String getFullPath()

saveFile

public void saveFile()
              throws Exception
Throws:
Exception

saveFile

public void saveFile(String path)
              throws Exception
Throws:
Exception

loadFile

public boolean loadFile()
                 throws Exception
Throws:
Exception