com.vladium.util
Class IProperties.Factory.PropertiesImpl

java.lang.Object
  extended bycom.vladium.util.IProperties.Factory.PropertiesImpl
All Implemented Interfaces:
java.lang.Cloneable, IProperties
Enclosing class:
IProperties.Factory

private static final class IProperties.Factory.PropertiesImpl
extends java.lang.Object
implements IProperties, java.lang.Cloneable


Nested Class Summary
 
Nested classes inherited from class com.vladium.util.IProperties
IProperties.Factory, IProperties.IMapper
 
Field Summary
private  IProperties.Factory.PropertiesImpl m_delegate
           
private  IProperties.IMapper m_mapper
           
private  java.util.Set m_unmappedKeySet
           
private  java.util.HashMap m_valueMap
           
 
Constructor Summary
(package private) IProperties.Factory.PropertiesImpl(java.util.HashMap values, IProperties.IMapper mapper)
           
 
Method Summary
 IProperties copy()
           
(package private)  IProperties.Factory.PropertiesImpl getLastProperties()
           
 java.lang.String getProperty(java.lang.String key)
           
 java.lang.String getProperty(java.lang.String key, java.lang.String dflt)
           
 boolean isEmpty()
           
 boolean isOverridden(java.lang.String key)
           
 void list(java.io.PrintStream out)
           
 void list(java.io.PrintWriter out)
           
 java.util.Iterator properties()
           
(package private)  void setDelegate(IProperties.Factory.PropertiesImpl delegate)
           
 java.lang.String setProperty(java.lang.String key, java.lang.String value)
           
 java.lang.String[] toAppArgsForm(java.lang.String prefix)
           
 java.util.Properties toProperties()
           
(package private)  java.util.Set unmappedKeySet()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_mapper

private final IProperties.IMapper m_mapper

m_valueMap

private java.util.HashMap m_valueMap

m_delegate

private IProperties.Factory.PropertiesImpl m_delegate

m_unmappedKeySet

private transient java.util.Set m_unmappedKeySet
Constructor Detail

IProperties.Factory.PropertiesImpl

IProperties.Factory.PropertiesImpl(java.util.HashMap values,
                                   IProperties.IMapper mapper)
Method Detail

getProperty

public java.lang.String getProperty(java.lang.String key)
Specified by:
getProperty in interface IProperties

getProperty

public java.lang.String getProperty(java.lang.String key,
                                    java.lang.String dflt)
Specified by:
getProperty in interface IProperties

isOverridden

public boolean isOverridden(java.lang.String key)
Specified by:
isOverridden in interface IProperties

copy

public IProperties copy()
Specified by:
copy in interface IProperties

properties

public java.util.Iterator properties()
Specified by:
properties in interface IProperties

toProperties

public java.util.Properties toProperties()
Specified by:
toProperties in interface IProperties

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface IProperties

toAppArgsForm

public java.lang.String[] toAppArgsForm(java.lang.String prefix)
Specified by:
toAppArgsForm in interface IProperties
Parameters:
prefix - [may not be null]

list

public void list(java.io.PrintStream out)
Specified by:
list in interface IProperties

list

public void list(java.io.PrintWriter out)
Specified by:
list in interface IProperties

setProperty

public java.lang.String setProperty(java.lang.String key,
                                    java.lang.String value)
Specified by:
setProperty in interface IProperties

unmappedKeySet

java.util.Set unmappedKeySet()

getLastProperties

IProperties.Factory.PropertiesImpl getLastProperties()

setDelegate

void setDelegate(IProperties.Factory.PropertiesImpl delegate)