com.ibm.commerce.foundation.dataload.config

Class AbstractColumnHandler

  • java.lang.Object
    • com.ibm.commerce.foundation.dataload.config.AbstractColumnHandler
  • All Implemented Interfaces:
    ColumnHandler


    public abstract class AbstractColumnHandler
    extends java.lang.Object
    implements ColumnHandler
    This is an abstract class to implement the ColumnHandler interface. All implementation classes of ColumnHandler should extend this class. If the subclass overwrite any method, it should call the super first in case this class implements some default logic.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void close()
      It does nothing.
      void init()
      It does nothing.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AbstractColumnHandler

        public AbstractColumnHandler()
    • Method Detail

      • init

        public void init()
                  throws DataLoadException
        It does nothing. The subclass can overwrite this method to do some initialization, such as creating some prepared statements to access the database.
        Specified by:
        init in interface ColumnHandler
        Throws:
        DataLoadException - if there are some errors.
      • close

        public void close()
        It does nothing. The subclass can overwrite this method to release any resources it used, such as JDBC prepared statements.
        Specified by:
        close in interface ColumnHandler