com.vladium.util
Class Property.FilePropertyLookup

java.lang.Object
  extended byjava.util.Dictionary
      extended byjava.util.Hashtable
          extended byjava.util.Properties
              extended bycom.vladium.util.XProperties
                  extended bycom.vladium.util.Property.FilePropertyLookup
All Implemented Interfaces:
java.lang.Cloneable, java.util.Map, java.io.Serializable
Enclosing class:
Property

private static final class Property.FilePropertyLookup
extends XProperties


Nested Class Summary
 
Nested classes inherited from class java.util.Hashtable
 
Field Summary
private  java.util.Properties m_contents
           
private  java.io.File m_src
           
 
Fields inherited from class java.util.Properties
defaults
 
Fields inherited from class java.util.Hashtable
 
Constructor Summary
(package private) Property.FilePropertyLookup(java.io.File src)
          Creates a lazy property lookup based on 'src' contents.
 
Method Summary
private  void faultContents()
           
 java.lang.Object get(java.lang.Object key)
           
 java.lang.String getProperty(java.lang.String key)
           
 java.util.Enumeration keys()
           
 
Methods inherited from class com.vladium.util.XProperties
list, list
 
Methods inherited from class java.util.Properties
getProperty, load, propertyNames, save, setProperty, store
 
Methods inherited from class java.util.Hashtable
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, hashCode, isEmpty, keySet, put, putAll, rehash, remove, size, toString, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

m_src

private final java.io.File m_src

m_contents

private java.util.Properties m_contents
Constructor Detail

Property.FilePropertyLookup

Property.FilePropertyLookup(java.io.File src)
Creates a lazy property lookup based on 'src' contents.

Parameters:
src - [null will result in empty property set created]
Method Detail

getProperty

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

get

public java.lang.Object get(java.lang.Object key)

keys

public java.util.Enumeration keys()

faultContents

private void faultContents()