org.eclipse.corona.container.config
Class PropertyContainerConfiguration

java.lang.Object
  extended by org.eclipse.corona.container.config.PropertyContainerConfiguration
All Implemented Interfaces:
IContainerConfiguration, INullObject

public class PropertyContainerConfiguration
extends java.lang.Object
implements IContainerConfiguration


Field Summary
static java.lang.String PROPERTY_CONTEXT_CONTAINER_FILE_LOCATION
           
 
Constructor Summary
PropertyContainerConfiguration(java.util.Properties config)
           
 
Method Summary
static java.util.Properties configToProperties(IContainerConfiguration config)
           
 byte[] getBytes()
          TODO Fix this method looks like it contains test code this looks like it still have test code and needs work
 java.io.Reader getConfigReader()
           
 java.lang.String getExpandedProperty(java.lang.String name)
           
 java.io.InputStream getInputStream()
          TODO Fix this method looks like it contains test code this looks like it still have test code and needs work
 java.lang.String getProperty(java.lang.String name)
           
 boolean isNullObject()
          Method returns true if implementing object is a "null object".
 java.lang.String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

PROPERTY_CONTEXT_CONTAINER_FILE_LOCATION

public static final java.lang.String PROPERTY_CONTEXT_CONTAINER_FILE_LOCATION
See Also:
Constant Field Values
Constructor Detail

PropertyContainerConfiguration

public PropertyContainerConfiguration(java.util.Properties config)
Method Detail

getConfigReader

public java.io.Reader getConfigReader()
Specified by:
getConfigReader in interface IContainerConfiguration

getInputStream

public java.io.InputStream getInputStream()
TODO Fix this method looks like it contains test code this looks like it still have test code and needs work

Specified by:
getInputStream in interface IContainerConfiguration

getBytes

public byte[] getBytes()
TODO Fix this method looks like it contains test code this looks like it still have test code and needs work

Specified by:
getBytes in interface IContainerConfiguration

configToProperties

public static java.util.Properties configToProperties(IContainerConfiguration config)

getProperty

public java.lang.String getProperty(java.lang.String name)

getExpandedProperty

public java.lang.String getExpandedProperty(java.lang.String name)

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Object

isNullObject

public boolean isNullObject()
Method returns true if implementing object is a "null object".

Specified by:
isNullObject in interface INullObject
Returns:
true if object which implements this interface in a "null object".

Copyright 2006 IBM Corporation and others.
All Rights Reserved.