|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.funambol.syncclient.spdm.DeviceImpl
public class DeviceImpl
This is a simple implementation of the Device interface. It is still quite generic and will be replaced in the future with more interesting implementations. For now it is a good trade-off between quick and dirty.
Field Summary | |
---|---|
static java.lang.String |
CONTEXT_DEVICE
The management tree where the device information is stored |
static java.lang.String |
PROP_BASE_DIR
The base directory configuration property |
Constructor Summary | |
---|---|
DeviceImpl(DeviceManager dm)
|
Method Summary | |
---|---|
java.lang.String |
getBaseDirectory()
Returns the base directory. |
void |
setBaseDirectory(java.lang.String baseDir)
Sets the device base directory |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String CONTEXT_DEVICE
public static final java.lang.String PROP_BASE_DIR
Constructor Detail |
---|
public DeviceImpl(DeviceManager dm)
Method Detail |
---|
public java.lang.String getBaseDirectory() throws DMException
getBaseDirectory
in interface Device
DMException
- if there is an error in determining the current
working directory.Device
public void setBaseDirectory(java.lang.String baseDir) throws DMException
setBaseDirectory
in interface Device
baseDir
- the new base directory.
DMException
- in case of error setting the base direcotry
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |