private static class SourceNameMapper.SinglePathLookup extends java.lang.Object implements SourceNameMapper.PathLookup
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
programName
The full path to the program
|
private java.lang.String |
simpleProgramName
The unqualified program name
|
| Constructor and Description |
|---|
SinglePathLookup(java.lang.String programName)
Constructor which initializes the program name.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getSimpleProgramName()
Getter for the simpleProgramName property.
|
java.lang.String |
lookupPath(java.lang.String legacyProgName,
java.lang.String[] propath,
boolean caseSens)
Looks up the given program name based on the propath and the case sensitivity
values of the WorkArea.
|
private java.lang.String programName
private java.lang.String simpleProgramName
public SinglePathLookup(java.lang.String programName)
programName - The full path of the program.public java.lang.String getSimpleProgramName()
public java.lang.String lookupPath(java.lang.String legacyProgName,
java.lang.String[] propath,
boolean caseSens)
lookupPath in interface SourceNameMapper.PathLookuplegacyProgName - The program name that is searched.propath - The propath of the current context.caseSens - The case sensitivity of the current context.null if there is no match.