public class SyncedProperties
extends java.lang.Object
Constructor and Description |
---|
SyncedProperties(java.io.File file) |
SyncedProperties(java.io.File file,
java.lang.String header) |
SyncedProperties(java.io.File file,
java.lang.String[] header) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
contains(java.lang.String value) |
boolean |
containsKey(java.lang.String key) |
java.util.Enumeration |
elements() |
java.lang.String |
getProperty(java.lang.String property) |
java.lang.String |
getProperty(java.lang.String property,
java.lang.String defaultValue) |
boolean |
isEmpty() |
java.util.Enumeration |
keys() |
void |
put(java.lang.String property,
java.lang.String value) |
void |
remove(java.lang.String property) |
int |
size() |
public SyncedProperties(java.io.File file, java.lang.String header) throws java.io.IOException
java.io.IOException
public SyncedProperties(java.io.File file, java.lang.String[] header) throws java.io.IOException
java.io.IOException
public SyncedProperties(java.io.File file) throws java.io.IOException
java.io.IOException
public java.lang.String getProperty(java.lang.String property) throws java.io.IOException
java.io.IOException
public java.lang.String getProperty(java.lang.String property, java.lang.String defaultValue) throws java.io.IOException
java.io.IOException
public void put(java.lang.String property, java.lang.String value) throws java.io.IOException
java.io.IOException
public void remove(java.lang.String property) throws java.io.IOException
java.io.IOException
public void clear() throws java.io.IOException
java.io.IOException
public boolean contains(java.lang.String value) throws java.io.IOException
java.io.IOException
public boolean containsKey(java.lang.String key) throws java.io.IOException
java.io.IOException
public java.util.Enumeration elements() throws java.io.IOException
java.io.IOException
public java.util.Enumeration keys() throws java.io.IOException
java.io.IOException
public int size() throws java.io.IOException
java.io.IOException
public boolean isEmpty() throws java.io.IOException
java.io.IOException