info.informatica.text.mapper
Class LeftReplaceMapper
java.lang.Object
info.informatica.text.mapper.SingleTextMapper
info.informatica.text.mapper.LeftReplaceMapper
- All Implemented Interfaces:
- TextMapper
public class LeftReplaceMapper
- extends SingleTextMapper
- implements TextMapper
- Version:
- 1.02
- Author:
- amengual at informatica dot info
LeftReplaceMapper
public LeftReplaceMapper()
map
public String map(String canon,
String unmatch)
- Description copied from interface:
TextMapper
- Maps
arg to another String and returns it.
- Specified by:
map in interface TextMapper- Specified by:
map in class SingleTextMapper
- Parameters:
canon - the String to be mappedunmatch - the String to be returned if the argument does not match any
mapping.
- Returns:
- the String in the "Range Set" resulting from the map, or
unmatch if arg was not contained in
the Domain Set, and the mapper therefore did not know how to map.