class SalesforceInput extends SalesforceStep {

  void doConversions( Object[] outputRowData, int i, String value ) throws KettleValueException {
    ValueMetaInterface targetValueMeta = data.outputRowMeta.getValueMeta( i );
    ValueMetaInterface sourceValueMeta = data.convertRowMeta.getValueMeta( i );

    if ( ValueMetaInterface.TYPE_BINARY != targetValueMeta.getType() ) {
      outputRowData[i] = targetValueMeta.convertData( sourceValueMeta, value );
    } else {
      // binary type of salesforce requires specific conversion
      if ( value != null ) {
        outputRowData[ i ] = Base64.decode( value );
      } else {
        outputRowData[ i ] = null;
      }
    }
  }

  public  SalesforceInput( StepMeta stepMeta, StepDataInterface stepDataInterface, int copyNr, TransMeta transMeta,
    Trans trans );

}