Package games.stendhal.server.core.config

Examples of games.stendhal.server.core.config.ItemGroupsXMLLoader


  /**
   * Build the items tables
   */
  private void buildItemTables() {
    try {
      final ItemGroupsXMLLoader loader = new ItemGroupsXMLLoader(new URI("/data/conf/items.xml"));
      final List<DefaultItem> items = loader.load();

      for (final DefaultItem item : items) {
        final String clazz = item.getItemName();

        if (classToItem.containsKey(clazz)) {
View Full Code Here


      System.out.println("");
    }
  }

  public static void generateItems() throws Exception {
    final ItemGroupsXMLLoader loader = new ItemGroupsXMLLoader(new URI(
        "/data/conf/items.xml"));
    final List<DefaultItem> items = loader.load();

    String clazz = null;

    for (final DefaultItem item : items) {
      if (!item.getItemClass().equals(clazz)) {
View Full Code Here

TOP

Related Classes of games.stendhal.server.core.config.ItemGroupsXMLLoader

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.