Examples of saveConfig()


Examples of org.jboss.forge.spec.javaee.ServletFacet.saveConfig()

      String errorLocation = getAccessStrategy().getWebPaths(web.getWebResource("error.xhtml")).get(1);
      servletConfig.errorPage(404, errorLocation);
      servletConfig.errorPage(500, errorLocation);

      servlet.saveConfig(servletConfig);
   }

   protected Node removeConflictingErrorPages(final ServletFacet servlet)
   {
      Node webXML = XMLParser.parse(servlet.getConfigFile().getResourceInputStream());
View Full Code Here

Examples of org.photovault.common.PhotovaultSettings.saveConfig()

                    parentFolder );
            topFolder.setDescription( "Indexed from " + dir.getAbsolutePath() );
            indexer.setTopFolder( topFolder );

            // Save the configuration of the new volume
            settings.saveConfig();
           
            // Show status dialog & index the directory
            IndexerStatusDlg statusDlg = new IndexerStatusDlg( this, false );
            statusDlg.setVisible( true );
            statusDlg.runIndexer( indexer );
View Full Code Here

Examples of org.photovault.common.PhotovaultSettings.saveConfig()

                // Creating an embedded database
                db.setInstanceType( PVDatabase.TYPE_EMBEDDED );
                db.setEmbeddedDirectory( new File( volumeDirFld.getText() ) );
            }
            db.createDatabase( user, passwd );
            settings.saveConfig();
        } catch (PhotovaultException ex) {
            JOptionPane.showMessageDialog( this, ex.getMessage(),
                    "Error creating database", JOptionPane.ERROR_MESSAGE );
            return false;
        }
View Full Code Here

Examples of ru.tehkode.permissions.bukkit.PermissionsEx.saveConfig()

        config.set("message-format", pexConfig.getString("permissions.chat.format", ChatListener.MESSAGE_FORMAT));
        config.set("global-message-format", pexConfig.getString("permissions.chat.global-format", ChatListener.GLOBAL_MESSAGE_FORMAT));
        config.set("ranged-mode", pexConfig.getBoolean("permissions.chat.force-ranged", ChatListener.RANGED_MODE));
        config.set("chat-range", pexConfig.getDouble("permissions.chat.chat-range", ChatListener.CHAT_RANGE));
       
        pex.saveConfig();
    }

}
View Full Code Here

Examples of simpleserver.Server.saveConfig()

      player.addTMessage(Color.RED, "You must specify a user or a valid IP!");
      return;
    }

    server.config.ips.setGroup(ip, group);
    server.saveConfig();

    player.addTMessage(Color.GRAY, "Group of %s was set to %s!", target, group);
    server.adminLog("User " + player.getName() + " set IP's group:\t "
        + target + "\t(" + group + ")");
    server.updateGroups();
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.