public class ProfileMapfile
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
m_mapfileTemplate |
protected java.lang.String |
m_mapfileToCreate |
protected java.util.Hashtable |
m_replaceMapping |
Constructor and Description |
---|
ProfileMapfile(java.lang.String directoryRootPath, java.lang.String masterMapfileRelativePath, java.lang.String masterMapfileName, java.lang.String mapfileToCreateRelativePath, java.lang.String mapfileNameToCreate, java.util.Hashtable replaceMapping, java.util.logging.Logger lgr)
Creates a mapfile in the $ORACLE_HOME/ldap/log directory by replacing the Macro String(s) in the master map file, mapfileTemplate, located in $ORACLE_HOME/ldap/odi/conf.
|
Modifier and Type | Method and Description |
---|---|
void |
CreateMapfileBasedOnTemplate()
Creates the map file based on a master template file.
|
java.lang.String |
getMapfileCreated()
Returns the full path of the map file created by a given ProfileMapfile instance.
|
void |
ProfileMapfile(java.lang.String directoryRootPath, java.lang.String masterMapfileRelativePath, java.lang.String masterMapfileName, java.lang.String mapfileToCreateRelativePath, java.lang.String mapfileNameToCreate, java.util.Hashtable replaceMapping) |
protected java.lang.String m_mapfileTemplate
protected java.lang.String m_mapfileToCreate
protected java.util.Hashtable m_replaceMapping
public ProfileMapfile(java.lang.String directoryRootPath, java.lang.String masterMapfileRelativePath, java.lang.String masterMapfileName, java.lang.String mapfileToCreateRelativePath, java.lang.String mapfileNameToCreate, java.util.Hashtable replaceMapping, java.util.logging.Logger lgr)
oracle_home:
- The orlace_home path that's usually set in environment variable The caller can use it for any home directory.masterMapfileRelativePath:
- Where the master file is located. Must end with '/'.masterMapfileName:
- The master map file, such as activeexp.map.mastermapfileToCreateRelativePath:
- where map file is created. Must end with '/'.mapfileNameToCreate:
- The map file to be created, for example, activeexp.mapreplaceMapping:
- hashtable with the key being the Macro String in the master map file, for instance, %OIDBASE%, %USERBASE%. The corresponding value is the replacement value.public void ProfileMapfile(java.lang.String directoryRootPath, java.lang.String masterMapfileRelativePath, java.lang.String masterMapfileName, java.lang.String mapfileToCreateRelativePath, java.lang.String mapfileNameToCreate, java.util.Hashtable replaceMapping)
public java.lang.String getMapfileCreated()
public void CreateMapfileBasedOnTemplate() throws java.io.IOException, java.io.FileNotFoundException, ParameterException
java.io.IOException
java.io.FileNotFoundException
ParameterException