public class SyncedProperties extends Object
| Constructor and Description |
|---|
SyncedProperties(File file) |
SyncedProperties(File file,
String header) |
SyncedProperties(File file,
String[] header) |
| Modifier and Type | Method and Description |
|---|---|
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() |
public SyncedProperties(File file, String header) throws IOException
IOExceptionpublic SyncedProperties(File file, String[] header) throws IOException
IOExceptionpublic SyncedProperties(File file) throws IOException
IOExceptionpublic String getProperty(String property) throws IOException
IOExceptionpublic String getProperty(String property, String defaultValue) throws IOException
IOExceptionpublic void put(String property, String value) throws IOException
IOExceptionpublic void remove(String property) throws IOException
IOExceptionpublic void clear()
throws IOException
IOExceptionpublic boolean contains(String value) throws IOException
IOExceptionpublic boolean containsKey(String key) throws IOException
IOExceptionpublic Enumeration elements() throws IOException
IOExceptionpublic Enumeration keys() throws IOException
IOExceptionpublic int size()
throws IOException
IOExceptionpublic boolean isEmpty()
throws IOException
IOException