ma.glasnost.orika.converter.builtin
Class StringToCharacterConverter

java.lang.Object
  extended by ma.glasnost.orika.CustomConverter<Object,Object>
      extended by ma.glasnost.orika.converter.BidirectionalConverter<String,Character>
          extended by ma.glasnost.orika.converter.builtin.StringToCharacterConverter
All Implemented Interfaces:
Converter<Object,Object>, MappedTypePair<Object,Object>

public class StringToCharacterConverter
extends BidirectionalConverter<String,Character>


Field Summary
 
Fields inherited from class ma.glasnost.orika.CustomConverter
destinationType, mapperFacade, sourceType
 
Constructor Summary
StringToCharacterConverter()
           
 
Method Summary
 String convertFrom(Character source, Type<String> destinationType)
           
 Character convertTo(String source, Type<Character> destinationType)
           
 
Methods inherited from class ma.glasnost.orika.converter.BidirectionalConverter
canConvert, convert, toString
 
Methods inherited from class ma.glasnost.orika.CustomConverter
getAType, getBType, setMapperFacade
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface ma.glasnost.orika.Converter
setMapperFacade
 
Methods inherited from interface ma.glasnost.orika.MappedTypePair
getAType, getBType
 

Constructor Detail

StringToCharacterConverter

public StringToCharacterConverter()
Method Detail

convertTo

public Character convertTo(String source,
                           Type<Character> destinationType)
Specified by:
convertTo in class BidirectionalConverter<String,Character>

convertFrom

public String convertFrom(Character source,
                          Type<String> destinationType)
Specified by:
convertFrom in class BidirectionalConverter<String,Character>


Copyright © 2013 Glasnost. All Rights Reserved.