Package weka.gui.beans

Examples of weka.gui.beans.Loader$LoadThread


    StringBuffer buffer = new StringBuffer();
    buffer.append("------------------------\n");
    buffer.append(" LOADERS INFO       \n");
    buffer.append("------------------------\n");
    for(int i = 0; i < loaders.size(); i++) {
      Loader loader = (Loader)loaders.get(i);
      buffer.append(getLoderDesc(loader));
      buffer.append("------------------------\n");
    }
    return buffer.toString();
  }
View Full Code Here


        setupAssociators();
      }   
         
     
      for(int i = 0; i < loaders.size(); i++) {
        Loader loader = (Loader)loaders.get(i);
        logger.debug("Start loading: " + loader );     
        loader.startLoading();     
      }   
     
      if(forceBlocking) {
        for(int i = 0; i < savers.size(); i++) {
          Saver saver = (Saver)savers.get(i);
View Full Code Here

   *  Setup Loader filling missing parameter values   *
   */
  public void setupLoaders() { 
    logger.debug("IN");
    for(int i = 0; i < loaders.size(); i++) {
      Loader loader = (Loader)loaders.get(i);           
      String className = loader.getLoader().getClass().getName();
     
      if(className.equalsIgnoreCase(DatabaseLoader.class.getName())) {
        DatabaseLoader databaseLoader = (DatabaseLoader)loader.getLoader();
        if(env.getOutConnection() != null) {
          databaseLoader.setSource(env.getInConnection());
        }
      } else if(className.equalsIgnoreCase(ArffLoader.class.getName())) {
        ArffLoader arffLoader = (ArffLoader)loader.getLoader();
        // setup operation goes here
      } else if(className.equalsIgnoreCase(CSVLoader.class.getName())) {
        CSVLoader csvLoader = (CSVLoader)loader.getLoader();
        // setup operation goes here       
      }   
    }
    logger.debug("OUT");
  }
View Full Code Here

TOP

Related Classes of weka.gui.beans.Loader$LoadThread

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.