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.IOExceptionpublic SyncedProperties(java.io.File file,
java.lang.String[] header)
throws java.io.IOException
java.io.IOExceptionpublic SyncedProperties(java.io.File file)
throws java.io.IOException
java.io.IOExceptionpublic java.lang.String getProperty(java.lang.String property)
throws java.io.IOException
java.io.IOExceptionpublic java.lang.String getProperty(java.lang.String property,
java.lang.String defaultValue)
throws java.io.IOException
java.io.IOExceptionpublic void put(java.lang.String property,
java.lang.String value)
throws java.io.IOException
java.io.IOExceptionpublic void remove(java.lang.String property)
throws java.io.IOException
java.io.IOExceptionpublic void clear()
throws java.io.IOException
java.io.IOExceptionpublic boolean contains(java.lang.String value)
throws java.io.IOException
java.io.IOExceptionpublic boolean containsKey(java.lang.String key)
throws java.io.IOException
java.io.IOExceptionpublic java.util.Enumeration elements()
throws java.io.IOException
java.io.IOExceptionpublic java.util.Enumeration keys()
throws java.io.IOException
java.io.IOExceptionpublic int size()
throws java.io.IOException
java.io.IOExceptionpublic boolean isEmpty()
throws java.io.IOException
java.io.IOException