com.cybelia.sandra.ibu
Class IBU.AbstractInjector<E>

java.lang.Object
  extended by com.cybelia.sandra.ibu.IBU.AbstractInjector<E>
All Implemented Interfaces:
IBU.Injector<E>
Direct Known Subclasses:
IBU.FileInjector, IBU.StringInjector
Enclosing class:
IBU

protected abstract class IBU.AbstractInjector<E>
extends Object
implements IBU.Injector<E>


Field Summary
protected  MigrationContext contextMigration
           
protected  ManagerInjector manager
           
protected  CSVReaderGeneric<E> reader
           
protected  List<E> toInject
           
 
Constructor Summary
protected IBU.AbstractInjector(CSVReaderGeneric<E> reader, ManagerInjector manager)
           
 
Method Summary
 void doInject()
           
 int getNbLines()
           
abstract  Reader getReader()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.cybelia.sandra.ibu.IBU.Injector
inject
 

Field Detail

manager

protected ManagerInjector manager

contextMigration

protected MigrationContext contextMigration

reader

protected CSVReaderGeneric<E> reader

toInject

protected List<E> toInject
Constructor Detail

IBU.AbstractInjector

protected IBU.AbstractInjector(CSVReaderGeneric<E> reader,
                               ManagerInjector manager)
Method Detail

doInject

public void doInject()
Specified by:
doInject in interface IBU.Injector<E>

getNbLines

public int getNbLines()

getReader

public abstract Reader getReader()


Copyright © 2008-2012 Cybelia. All Rights Reserved.