Package csv.impl.csv.type
Class CharConversionHandler
java.lang.Object
csv.impl.csv.type.CharConversionHandler
- All Implemented Interfaces:
TypeConverter
Conversion Handler for char.
- Author:
- ralph
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
CharConversionHandler
public CharConversionHandler()Constructor.
-
-
Method Details
-
getTypes
Returns the types that this handler is responsible for.- Specified by:
getTypesin interfaceTypeConverter- Returns:
- type strings
-
fromStream
Converts the string (from stream) into corresponding object.- Specified by:
fromStreamin interfaceTypeConverter- Parameters:
s- object from stream.- Returns:
- object object to passed to client
-
toStream
Converts an object into its stream representation.- Specified by:
toStreamin interfaceTypeConverter- Parameters:
o- Object to convert- Returns:
- stream representation.
-