Package csv.impl.type

Class IntegerConversionHandler

java.lang.Object
csv.impl.type.IntegerConversionHandler
All Implemented Interfaces:
TypeConversionHandler

public class IntegerConversionHandler
extends java.lang.Object
implements TypeConversionHandler
Conversion Handler for int.
Author:
ralph
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static TypeConversionHandler INSTANCE  
  • Constructor Summary

    Constructors 
    Constructor Description
    IntegerConversionHandler()
    Constructor.
  • Method Summary

    Modifier and Type Method Description
    java.lang.String[] getTypes()
    Returns the types that this handler is responsible for.
    java.lang.Object toObject​(java.lang.String s)
    Converts the string (from stream) into corresponding object.
    java.lang.String toString​(java.lang.Object o)
    Converts an object into its string representation.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait