com.mchange.util.impl
Class SyncedProperties

java.lang.Object
  extended by com.mchange.util.impl.SyncedProperties

public class SyncedProperties
extends Object


Constructor Summary
SyncedProperties(File file)
           
SyncedProperties(File file, String header)
           
SyncedProperties(File file, String[] header)
           
 
Method Summary
 void clear()
           
 boolean contains(String value)
           
 boolean containsKey(String key)
           
 Enumeration elements()
           
 String getProperty(String property)
           
 String getProperty(String property, String defaultValue)
           
 boolean isEmpty()
           
 Enumeration keys()
           
 void put(String property, String value)
           
 void remove(String property)
           
 int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SyncedProperties

public SyncedProperties(File file,
                        String header)
                 throws IOException
Throws:
IOException

SyncedProperties

public SyncedProperties(File file,
                        String[] header)
                 throws IOException
Throws:
IOException

SyncedProperties

public SyncedProperties(File file)
                 throws IOException
Throws:
IOException
Method Detail

getProperty

public String getProperty(String property)
                   throws IOException
Throws:
IOException

getProperty

public String getProperty(String property,
                          String defaultValue)
                   throws IOException
Throws:
IOException

put

public void put(String property,
                String value)
         throws IOException
Throws:
IOException

remove

public void remove(String property)
            throws IOException
Throws:
IOException

clear

public void clear()
           throws IOException
Throws:
IOException

contains

public boolean contains(String value)
                 throws IOException
Throws:
IOException

containsKey

public boolean containsKey(String key)
                    throws IOException
Throws:
IOException

elements

public Enumeration elements()
                     throws IOException
Throws:
IOException

keys

public Enumeration keys()
                 throws IOException
Throws:
IOException

size

public int size()
         throws IOException
Throws:
IOException

isEmpty

public boolean isEmpty()
                throws IOException
Throws:
IOException