be.objectify.led
Class DefaultPropertyContext

java.lang.Object
  extended by be.objectify.led.DefaultPropertyContext
All Implemented Interfaces:
PropertyContext

public class DefaultPropertyContext
extends Object
implements PropertyContext

Default implementation of PropertyContext which

Author:
Steve Chaloner

Constructor Summary
DefaultPropertyContext(Properties... properties)
           
 
Method Summary
 String getValue(String propertyName)
          Gets the named propety from the context.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultPropertyContext

public DefaultPropertyContext(Properties... properties)
Method Detail

getValue

public String getValue(String propertyName)
Gets the named propety from the context.

Specified by:
getValue in interface PropertyContext
Parameters:
propertyName - the name of the property
Returns:
the value mapped to the property name, or null if no value exists


Copyright © 2010 Objectify. All Rights Reserved.