|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
TDIProperties instead
@Deprecated public interface ExternalPropertiesConfig
This interface gives access to a configuration's external properties. External properties are special in that the data is stored in an external file rather than by the MetamergeConfig object's storage. Use the BaseConfiguration's getXXX/setXXX methods to read and write properties.
| Field Summary |
|---|
| Fields inherited from interface com.ibm.di.config.interfaces.BaseConfiguration |
|---|
CHILD_PATH_SEPARATOR, 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, SEARCH_SUBSTRING, SUBTREE |
| Method Summary | |
|---|---|
String |
getCipher()
Deprecated. Returns the Cipher algorithm used when reading/writing an encrypted file |
boolean |
getEncrypted()
Deprecated. Gets the encrypted flag of the ExternalPropertiesConfig object |
String |
getFilePath()
Deprecated. Gets the filePath attribute of the ExternalPropertiesConfig object |
String |
getPassword()
Deprecated. Returns the password used when opening an encrypted file |
boolean |
getSaveNeeded()
Deprecated. Gets the saveNeeded flag of the ExternalPropertiesConfig object |
void |
loadData()
Deprecated. This method reads the external properties into memory for subseqent use. |
void |
mergeData(String path)
Deprecated. This method merges the contents of a file into the current list of properties. |
void |
saveData()
Deprecated. This method writes back the data to the external file. |
void |
setCipher(String cipher)
Deprecated. Sets the Cipher algorithm used when reading/writing an encrypted file |
void |
setEncrypted(boolean encrypted)
Deprecated. Sets the encrypted flag of the ExternalPropertiesConfig object |
void |
setFilePath(String path)
Deprecated. Sets the filePath attribute of the ExternalPropertiesConfig object |
void |
setPassword(String password)
Deprecated. Sets the password used when opening an encrypted file |
| Method Detail |
|---|
String getFilePath()
void setFilePath(String path)
path - The new filePath valueString getPassword()
void setPassword(String password)
String getCipher()
void setCipher(String cipher)
boolean getEncrypted()
void setEncrypted(boolean encrypted)
encrypted - The new encrypted valueboolean getSaveNeeded()
void loadData()
throws Exception
Exception - if the operation does not succeed
void mergeData(String path)
throws Exception
path - The file path to load properties from
Exception - if the operation does not succeed
void saveData()
throws Exception
Exception - if the operation does not succeed
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||