|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuk.co.silentsoftware.datastore.Config
public class Config
Wrapper class over a RecordStore for holding FollowMe's config
| Field Summary | |
|---|---|
static int |
BACKGROUND_COLOR_INDEX
The index into the record store for the background colour |
static int |
FOREGROUND_COLOR_INDEX
The index into the record store for the foreground colour |
static int |
GPS_DEVICE_NAME_INDEX
The index into the record store for the GPS device name |
static int |
LAST_LOCATION_INDEX
The index into the record store for the last target |
| Constructor Summary | |
|---|---|
Config()
|
|
| Method Summary | |
|---|---|
static void |
close()
Closes the record store |
static java.lang.String |
getProperty(int name)
Retrieves a property from the record store, e.g. |
static java.lang.String |
getRoot()
|
static boolean |
isOpen()
Returns the record store's open state |
static void |
open()
Opens the record store for access |
static void |
setProperty(int name,
java.lang.String value)
Retrieves a property into the record store, e.g. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int GPS_DEVICE_NAME_INDEX
public static final int LAST_LOCATION_INDEX
public static final int FOREGROUND_COLOR_INDEX
public static final int BACKGROUND_COLOR_INDEX
| Constructor Detail |
|---|
public Config()
| Method Detail |
|---|
public static void open()
throws java.lang.Exception
java.lang.Exceptionpublic static boolean isOpen()
public static void close()
public static java.lang.String getProperty(int name)
throws java.lang.Exception
name -
java.lang.Exception
public static void setProperty(int name,
java.lang.String value)
throws java.lang.Exception
name - value -
java.lang.Exceptionpublic static java.lang.String getRoot()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||