local.tomas.irmc
Class IrMCConnection
java.lang.Object
local.tomas.irmc.IrMCConnection
public class IrMCConnection
- extends java.lang.Object
|
Constructor Summary |
IrMCConnection(local.tomas.obex.api.ObexConnection obex,
local.tomas.vcard.VType type)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LUID_NAME
public static final java.lang.String LUID_NAME
- See Also:
- Constant Field Values
SYNC_SERVICE
public static final java.lang.String SYNC_SERVICE
- See Also:
- Constant Field Values
IrMCConnection
public IrMCConnection(local.tomas.obex.api.ObexConnection obex,
local.tomas.vcard.VType type)
getCharset
public java.lang.String getCharset()
setCharset
public void setCharset(java.lang.String charset)
getType
public local.tomas.vcard.VType getType()
getInfoLog
public IrMCInfoLog getInfoLog()
throws IrMCException
- Throws:
IrMCException
getChangeCounter
public long getChangeCounter()
throws IrMCException
- Throws:
IrMCException
readDate
public java.util.Date readDate()
throws IrMCException
- Throws:
IrMCException
writeDate
public void writeDate(java.util.Date date)
throws IrMCException
- Throws:
IrMCException
getChangeLog
public IrMCChangeLog getChangeLog(long changeCounter)
throws IrMCException
- Throws:
IrMCException
getChangeLog
public IrMCChangeLog getChangeLog(java.util.Date timestamp)
throws IrMCException
- Throws:
IrMCException
splitPair
public static com.satline.util.Pair<java.lang.String,java.lang.String> splitPair(java.lang.String line)
getDeviceInfo
public java.lang.String getDeviceInfo()
throws IrMCException
- Throws:
IrMCException
getVCard
public local.tomas.vcard.VCard getVCard(local.tomas.vcard.impl.VCardConfiguration config,
java.lang.String uid)
throws IrMCException
- Throws:
IrMCException
getAllVCards
public java.util.Map<java.lang.String,local.tomas.vcard.VCard> getAllVCards(local.tomas.vcard.impl.VCardConfiguration config)
throws IrMCException
- Throws:
IrMCException
addVCard
public IrMCWriteResponse addVCard(local.tomas.vcard.impl.VCardConfiguration config,
local.tomas.vcard.VCard vCard)
throws IrMCException
- Throws:
IrMCException
updateVCard
public IrMCWriteResponse updateVCard(local.tomas.vcard.impl.VCardConfiguration config,
java.lang.String uid,
local.tomas.vcard.VCard vCard,
java.lang.Long maxChangeCounter)
throws IrMCException
- Throws:
IrMCException
deleteVCard
public IrMCWriteResponse deleteVCard(java.lang.String uid,
boolean hard,
java.lang.Long maxChangeCounter)
throws IrMCException
- Throws:
IrMCException
Copyright © 2007 null. All Rights Reserved.