Examples of ConfigLoader


Examples of appeng.recipes.loader.ConfigLoader

  {
    // Perform ore camouflage!
    ItemMultiMaterial.instance.makeUnique();

    if ( AEConfig.instance.isFeatureEnabled( AEFeature.CustomRecipes ) )
      recipeHandler.parseRecipes( new ConfigLoader( AppEng.instance.getConfigPath() ), "index.recipe" );
    else
      recipeHandler.parseRecipes( new JarLoader( "/assets/appliedenergistics2/recipes/" ), "index.recipe" );

    IPartHelper ph = AEApi.instance().partHelper();
    ph.registerNewLayer( "appeng.parts.layers.LayerISidedInventory", "net.minecraft.inventory.ISidedInventory" );
View Full Code Here

Examples of com.acciente.induction.init.config.ConfigLoader

    * Mar 15, 2008 APR  -  created
    */
   public static ConfigLoader getConfigLoader( ServletConfig oServletConfig )
      throws ClassNotFoundException, InvocationTargetException, ConstructorNotFoundException, ParameterProviderException, IllegalAccessException, InstantiationException
   {
      ConfigLoader      oConfigLoader;
      String            sConfigLoaderClassName;
      Log               oLog;

      oLog = LogFactory.getLog( ConfigLoaderInitializer.class );
        
View Full Code Here

Examples of com.configloader.ConfigLoader

  /**
   * Конструктор. <br>
   * Constructor.
   */
  public Connection() {
    ConfigLoader confGlobal = new ConfigLoader("org.apache.xerces.parsers.SAXParser");
    confGlobal.LoadFromFile("xml/confGlobal.xml");

    String instanceName = confGlobal.getTagValue("Root.SqlServer.InstanceName");
    instanceName = (instanceName != null && !instanceName.isEmpty())
        ? ("\\" + instanceName) : "";
   
    // Строка подключение к SQL Server     
    connectionUrl = "jdbc:sqlserver://"
      + confGlobal.getTagValue("Root.SqlServer.ServerName")
      + instanceName
      + ":"
      + confGlobal.getTagValue("Root.SqlServer.PortNumber")
      + ";"     
      + "databaseName="
      + confGlobal.getTagValue("Root.SqlServer.DBName")
      + ";"
      + "user="
      + confGlobal.getTagValue("Root.SqlServer.User")
      + ";"
      + "password="
      + confGlobal.getTagValue("Root.SqlServer.Password")
//      + textEncryptor.decrypt(
//          confGlobal.getTagValue("Root.SqlServer.Password"))
      + ";";     
    try {
      Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver");
View Full Code Here

Examples of com.crashnote.core.config.ConfigLoader


    // SETUP ======================================================================================

    public ServletConfigFactory(final FilterConfig filterConfig) {
        this(filterConfig, new ConfigLoader());
    }
View Full Code Here

Examples of com.jcloisterzone.config.ConfigLoader

    public void run() {
        System.setProperty("apple.awt.graphics.EnableQ2DX", "true");
        System.setProperty("apple.laf.useScreenMenuBar", "true");
        System.setProperty("com.apple.mrj.application.apple.menu.about.name", "JCloisterZone");

        ConfigLoader configLoader = new ConfigLoader();
        Config config = configLoader.load();

        I18nUtils.setLocale(config.getLocaleObject()); //must be set before Expansions enum is initialized

        List<Plugin> plugins = loadPlugins(config);
View Full Code Here

Examples of com.opengamma.integration.tool.config.ConfigLoader

        final PortfolioMaster remotePortfolioMaster = getToolContext().getPortfolioMaster();
        ConfigSaver configSaver = new ConfigSaver(remoteConfigMaster, remotePortfolioMaster, new ArrayList<String>(), new ArrayList<String>(), true, true);
        ByteArrayOutputStream byteArrayOutput = new ByteArrayOutputStream();
        PrintStream outputStream = new PrintStream(byteArrayOutput);
        configSaver.saveConfigs(outputStream);
        ConfigLoader configLoader = new ConfigLoader(configMaster, portfolioMaster, true, true, true);
        configLoader.loadConfig(new ByteArrayInputStream(byteArrayOutput.toByteArray()));           
      }
    };
    String[] args = {"-c", _serverUrl };
    remoteServerTool.initAndRun(args, ToolContext.class);
  }
View Full Code Here

Examples of com.opensymphony.module.sitemesh.mapper.ConfigLoader

    }

    String name = null;
    try {
      ConfigLoader configLoader = (ConfigLoader) getValueByFieldName(
          this, "configLoader");
      name = configLoader.getMappedName(thisPath);
    } catch (ServletException e) {
      e.printStackTrace();
    } catch (Exception e) {
      e.printStackTrace();
    }
View Full Code Here

Examples of de.fuberlin.wiwiss.d2rq.server.ConfigLoader

  }
 
  public ConfigLoader getServerConfig() {
    if (serverConfig == null) {
      // TODO Use mapModel instead of parsing RDF again
      serverConfig = new ConfigLoader(
          mappingFile == null ? null : ConfigLoader.toAbsoluteURI(mappingFile));
      serverConfig.load();
    }
    return serverConfig;
  }
View Full Code Here

Examples of gov.nasa.jpf.autodoc.types.ConfigLoader

  public void testLoadConfig() throws Exception {
    System.out.println("method> loadConfig");
   
    String filepath = "config.properties";
   
    ConfigLoader cl = new ConfigLoader();
    cl.loadConfig(filepath);
    assertFalse(cl.isEmpty());
  }
View Full Code Here

Examples of gov.nasa.jpf.autodoc.types.ConfigLoader

  @Test
  public void testExpandTerms() throws Exception {
    System.out.println("method> expandTerms");
   
    String filepath = "config.properties";
    ConfigLoader cl = new ConfigLoader();
    cl.load(new FileInputStream(filepath));
   
    cl.expandTerms();
    cl.list(new PrintWriter(System.out, true));
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.