Class BrolsLoader

java.lang.Object
be.gaudry.bibliobrol.model.process.BrolsLoader
All Implemented Interfaces:
IBrolLoader<Integer>

public class BrolsLoader extends Object implements IBrolLoader<Integer>
Since:
1.0 15 sept. 2008
Author:
Steph GAUDRY
  • Constructor Details

    • BrolsLoader

      public BrolsLoader()
  • Method Details

    • getFields

      public List<DAOBrolField> getFields()
      Returns:
      the fields
    • setFields

      public void setFields(List<DAOBrolField> fields)
      Parameters:
      fields - the fields to set
    • getBrolType

      public int getBrolType()
      Returns:
      the brolType
    • setBrolType

      public void setBrolType(int brolType)
      Parameters:
      brolType - the brolType to set
    • getProgressMax

      public Integer getProgressMax()
    • load

      public Integer load(AbstractBrolWorker<Integer> worker)
      Processor method called by the swing worker
      Specified by:
      load in interface IBrolLoader<Integer>
      Parameters:
      worker - instance to perform lengthy job
      Returns:
      the value returned by the worker.doInBackground and worker.get methods