org.pentaho.di.core
Class SourceToTargetMapping
java.lang.Object
org.pentaho.di.core.SourceToTargetMapping
public class SourceToTargetMapping
- extends Object
Constructor Summary |
SourceToTargetMapping(int sourcePosition,
int targetPosition)
Creates a new source-to-target mapping |
SourceToTargetMapping
public SourceToTargetMapping(int sourcePosition,
int targetPosition)
- Creates a new source-to-target mapping
- Parameters:
sourcePosition
- targetPosition
-
getSourcePosition
public int getSourcePosition()
- Returns:
- Returns the sourcePosition.
setSourcePosition
public void setSourcePosition(int sourcePosition)
- Parameters:
sourcePosition
- The sourcePosition to set.
getTargetPosition
public int getTargetPosition()
- Returns:
- Returns the targetPosition.
setTargetPosition
public void setTargetPosition(int targetPosition)
- Parameters:
targetPosition
- The targetPosition to set.
getSourceString
public String getSourceString(String[] source)
getTargetString
public String getTargetString(String[] target)