org.databene.commons.converter
Class CharArray2StringConverter

java.lang.Object
  extended by org.databene.commons.converter.AbstractConverter<S,T>
      extended by org.databene.commons.converter.ThreadSafeConverter<char[],java.lang.String>
          extended by org.databene.commons.converter.CharArray2StringConverter
All Implemented Interfaces:
java.lang.Cloneable, Converter<char[],java.lang.String>, ThreadAware

public class CharArray2StringConverter
extends ThreadSafeConverter<char[],java.lang.String>

Combines the characters of a character array to a String.

Created: 27.02.2010 09:46:36

Since:
0.5.0
Author:
Volker Bergmann

Field Summary
 
Fields inherited from class org.databene.commons.converter.AbstractConverter
sourceType, targetType
 
Constructor Summary
protected CharArray2StringConverter()
           
 
Method Summary
 java.lang.String convert(char[] sourceValue)
          Concerts an object of type S to an object of type T
 
Methods inherited from class org.databene.commons.converter.ThreadSafeConverter
clone, isParallelizable, isThreadSafe
 
Methods inherited from class org.databene.commons.converter.AbstractConverter
getSourceType, getTargetType
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CharArray2StringConverter

protected CharArray2StringConverter()
Method Detail

convert

public java.lang.String convert(char[] sourceValue)
                         throws ConversionException
Description copied from interface: Converter
Concerts an object of type S to an object of type T

Parameters:
sourceValue - the object to convert
Returns:
the converted object
Throws:
ConversionException - if the conversion fails


Copyright © 2010. All Rights Reserved.