org.ow2.carol.cmi.config
Class UtilConfig

java.lang.Object
  extended by org.ow2.carol.cmi.config.UtilConfig

@Immutable
public final class UtilConfig
extends java.lang.Object

Common utilities for CMI.

Author:
The new CMI team

Method Summary
static java.util.Properties getPropertiesFromURL(java.net.URL url)
          Gets a properties object based on given URL.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getPropertiesFromURL

public static java.util.Properties getPropertiesFromURL(java.net.URL url)
                                                 throws CMIConfigException
Gets a properties object based on given URL.

Parameters:
url - URL from where build properties object
Returns:
properties object with data from the given URL
Throws:
CMIConfigException - if we cannot load properties


Copyright © 2008 OW2 Consortium. All Rights Reserved.