org.apache.cocoon.framework
Class ConfigurationFactory
java.lang.Object
|
+--org.apache.cocoon.framework.ConfigurationFactory
- public class ConfigurationFactory
- extends java.lang.Object
This class creates the configurations.
- Version:
- $Revision: 1.1 $ $Date: 1999/03/22 23:50:06 $
- Author:
- Stefano Mazzocchi
Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
toString,
wait,
wait,
wait |
ConfigurationFactory
public ConfigurationFactory()
getInternalConfigurations
public static Configurations getInternalConfigurations(java.lang.String resource)
throws java.io.IOException
- Returns the configurations loading them from an internal resource
found in the jar achive or in the resource path (classpath)
getConfigurations
public static Configurations getConfigurations(java.lang.String file)
throws java.io.IOException
- Returns the configurations loading them from a file.
getConfigurations
public static Configurations getConfigurations(java.lang.String file,
Configurations defaults)
throws java.io.IOException
- Returns the configurations loading them from a file with the given
defaults.
getConfigurations
public static Configurations getConfigurations(java.lang.String file,
java.lang.String resource)
throws java.io.IOException
- Returns the configurations loading them from a file using the internal
configurations as default.