public class CharConverter extends Object implements Converter<Character,String>
| Constructor and Description |
|---|
CharConverter() |
| Modifier and Type | Method and Description |
|---|---|
Character |
convertToJava(String sapValue)
Convert the SAP value, as it is returned by the underlying interfacing technology (e.g. the
SAP Java Connector, JCo) to the Java data type of the corresponding BAPI class field.
|
String |
convertToSap(Character javaValue)
Convert the Java value of the corresponding BAPI class field to the data type as it is
expected by the underlying interfacing technology (e.g. the SAP Java Connector, JCo).
|
public Character convertToJava(String sapValue) throws ConversionException
convertToJava in interface Converter<Character,String>sapValue - The object which is returned by the SAP interfaceConversionException - if the value can not be convertedpublic String convertToSap(Character javaValue) throws ConversionException
convertToSap in interface Converter<Character,String>javaValue - The value of the BAPI class fieldConversionException - if the value can not be convertedCopyright © 2017 akquinet tech@spree GmbH. All Rights Reserved.