net.sf.mmapps.modules.config
Class JarConfigurationReader

java.lang.Object
  extended bynet.sf.mmapps.modules.config.JarConfigurationReader

public class JarConfigurationReader
extends java.lang.Object

class to read a configuration sorted in a jar file

Author:
keesj

Field Summary
static java.lang.String CONFIGURATION_DIR
           
static java.lang.String FILE_SEPARATOR
           
 
Constructor Summary
JarConfigurationReader()
           
 
Method Summary
static Configuration getConfiguration(java.io.File file)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FILE_SEPARATOR

public static java.lang.String FILE_SEPARATOR

CONFIGURATION_DIR

public static java.lang.String CONFIGURATION_DIR
Constructor Detail

JarConfigurationReader

public JarConfigurationReader()
Method Detail

getConfiguration

public static Configuration getConfiguration(java.io.File file)
                                      throws java.lang.Exception
Parameters:
file - the jar file
Returns:
a Configuration containing all the application configurations
Throws:
java.lang.Exception


Copyright © 2003-2004 mmapps. All Rights Reserved.