Package kameleon.plugin

Examples of kameleon.plugin.PlugIn


    try {
      loader.loadClass(info.getPlugInClass()) ;
      Class<?> plugInClass = Class.forName(info.getPlugInClass(), true, loader) ;
      Class<? extends PlugIn> plClass = plugInClass.asSubclass(PlugIn.class) ;
      Constructor<? extends PlugIn> constructor = plClass.getConstructor() ;
      PlugIn plugIn = constructor.newInstance() ;
      plugIn.copyPicture(this.ressourceFolder) ;
    } catch (Exception e) {
      /*=== Possible exceptions ===
       * - ClassNotFoundException
       * - IllegalAccessException
       * - IllegalArgumentException
View Full Code Here

TOP

Related Classes of kameleon.plugin.PlugIn

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.