Package org.pentaho.di.core
Class SourceToTargetMapping
java.lang.Object
org.pentaho.di.core.SourceToTargetMapping
-
Constructor Summary
ConstructorDescriptionSourceToTargetMapping
(int sourcePosition, int targetPosition) Creates a new source-to-target mapping -
Method Summary
Modifier and TypeMethodDescriptionint
getSourceString
(String[] source) int
getTargetString
(String[] target) void
setSourcePosition
(int sourcePosition) void
setTargetPosition
(int targetPosition)
-
Constructor Details
-
SourceToTargetMapping
public SourceToTargetMapping(int sourcePosition, int targetPosition) Creates a new source-to-target mapping- Parameters:
sourcePosition
-targetPosition
-
-
-
Method Details
-
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
-
getTargetString
-