|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.funambol.syncclient.common.DeviceTools
public class DeviceTools
This class supplies a method for the creation of a device id based on host address/name and username.
Constructor Summary | |
---|---|
DeviceTools()
|
Method Summary | |
---|---|
static java.lang.String |
createDeviceID(java.lang.String prefix,
java.lang.String defaultValue)
Creates a device id as prefix + B64(MD5(hostName:hostAddress:userName)) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DeviceTools()
Method Detail |
---|
public static java.lang.String createDeviceID(java.lang.String prefix, java.lang.String defaultValue)
prefix + B64(MD5(hostName:hostAddress:userName))
prefix
- the device id prefixdefaultValue
- the default value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |