cz.cuni.amis.pogamut.base.utils.configuration
Class CustomPropertiesProvider

java.lang.Object
  extended by cz.cuni.amis.utils.configuration.PropertyProvider
      extended by cz.cuni.amis.pogamut.base.utils.configuration.CustomPropertiesProvider
All Implemented Interfaces:
java.lang.Comparable<PropertyProvider>

public class CustomPropertiesProvider
extends PropertyProvider

Loads properties from the working directory.


Constructor Summary
CustomPropertiesProvider()
           
 
Method Summary
 int getPriority()
          Priority of this provider.
 java.lang.String getProperty(java.lang.String key)
          Searches for given property key.
 java.lang.String toString()
           
 
Methods inherited from class cz.cuni.amis.utils.configuration.PropertyProvider
compareTo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CustomPropertiesProvider

public CustomPropertiesProvider()
Method Detail

getProperty

public java.lang.String getProperty(java.lang.String key)
Description copied from class: PropertyProvider
Searches for given property key.

Specified by:
getProperty in class PropertyProvider
Returns:
null if the property wasn't found

getPriority

public int getPriority()
Description copied from class: PropertyProvider
Priority of this provider. It will be asked for property value before all providers with lower priority.

Specified by:
getPriority in class PropertyProvider
Returns:

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object