mccombe.terrain
Class PropertySet

java.lang.Object
  extended by mccombe.terrain.PropertySet

public class PropertySet
extends java.lang.Object


Constructor Summary
PropertySet(java.lang.String pathname, java.util.Properties defaults)
          Creates a new instance of PropertySet
 
Method Summary
 java.lang.String get(TerrainProperties key)
           
 boolean isValid()
           
 void save()
           
 void set(TerrainProperties key, java.lang.String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertySet

public PropertySet(java.lang.String pathname,
                   java.util.Properties defaults)
Creates a new instance of PropertySet

Method Detail

get

public java.lang.String get(TerrainProperties key)

set

public void set(TerrainProperties key,
                java.lang.String value)

save

public void save()
          throws java.io.IOException
Throws:
java.io.IOException

isValid

public boolean isValid()