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