ruper2/src/java/core/org/krysalis/ruper/config RuperConfig.java,NONE,1.1

[email protected]
Newsgroups gmane.comp.krysalis.metamorphosis.cvs
Message-ID <[email protected]>
Update of /cvsroot/metamorphosis/ruper2/src/java/core/org/krysalis/ruper/config
In directory sc8-pr-cvs1:/tmp/cvs-serv12556/src/java/core/org/krysalis/ruper/config

Added Files:
	RuperConfig.java 
Log Message:
making the xml config to read ruper.xml

--- NEW FILE: RuperConfig.java ---
/*
 * Created on Sep 9, 2003
  */
package org.krysalis.ruper.config;

import java.io.File;

import org.krysalis.ruper.util.RuperConstants;
import org.krysalis.ruper.util.xml.XMLContext;
import org.krysalis.ruper.util.xml.XMLEntryTable;
import org.krysalis.ruper.util.xml.XMLParser;

/**
 * @author anou_mana
 */
public class RuperConfig
{

	public static void configure(String configFileName)
	{
		try
		{
			File configFile = new File(configFileName);
			
			XMLEntryTable xmlEntryTable = new XMLEntryTable();
				
			XMLParser parser = new XMLParser(xmlEntryTable);
			XMLContext xmlContext =	parser.parse(configFile);
		}
		catch(Exception exp)
		{
		}		
	}
	
	public static void configure()
	{
		configure(RuperConstants.DEFAULT_CONFIG_XML);
	}
	
	public static void main(String[] args)
	{
	}
}




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.