|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.funambol.syncml.spds.SourceConfig
public class SourceConfig
Configuration data for the SyncSource. Can be extended by subclasses of SyncSource to add specific data.
Field Summary | |
---|---|
static java.lang.String |
BRIEFCASE
|
static java.lang.String |
BRIEFCASE_TYPE
briefcase object mime type definition |
static java.lang.String |
CALENDAR
|
static java.lang.String |
CONTACT
|
static java.lang.String |
EMAIL_OBJECT_NAME
eMail Object source name definition |
static java.lang.String |
EMAIL_OBJECT_TYPE
eMail Object mime type definition |
static java.lang.String |
FILE_OBJECT_TYPE
file object mime type definition |
static java.lang.String |
MAIL
|
static java.lang.String |
NOTE
|
static java.lang.String |
TASK
|
static java.lang.String |
VCARD_NAME
vCard source name definition |
static java.lang.String |
VCARD_TYPE
vCard mime type definition |
protected static int |
VERSION
|
protected static int |
VERSION_600
|
Constructor Summary | |
---|---|
SourceConfig()
Initializes a new instance of SourceConfig: Sets default configuration values, valid for a generic briefcase source. |
|
SourceConfig(java.lang.String name,
java.lang.String type,
java.lang.String remoteUri)
Initializes a new instance of SourceConfig: Sets default configuration values, valid for a generic briefcase source. |
Method Summary | |
---|---|
void |
deserialize(java.io.DataInputStream in)
Read object field from the input stream. |
boolean |
getBreakMsgOnLastChunk()
|
java.lang.String |
getEncoding()
Return the encoding of this source |
long |
getLastAnchor()
Return the last anchor of this source |
int |
getMaxItemsPerMessageInSlowSync()
Get the maximum number of items to be placed in a single SyncML message during a slow sync |
java.lang.String |
getName()
Return the name of this source |
long |
getNextAnchor()
Return the next anchor of this source |
java.lang.String |
getRemoteUri()
Return the remote URI of this source |
int |
getSyncMode()
Return the sync mode of this source |
java.lang.String |
getType()
Return the mime-type of this source |
void |
serialize(java.io.DataOutputStream out)
Write object fields to the output stream. |
void |
setBreakMsgOnLastChunk(boolean value)
|
void |
setEncoding(java.lang.String enc)
Set the encoding of this source |
void |
setLastAnchor(long anchor)
Set the last anchor of this source |
void |
setMaxItemsPerMessageInSlowSync(int value)
Set the maximum number of items to be placed in a single SyncML message during a slow sync. |
void |
setName(java.lang.String name)
Set the name of this source |
void |
setNextAnchor(long anchor)
Set the next anchor of this source |
void |
setRemoteUri(java.lang.String remoteUri)
Set the remote URI of this source |
void |
setSyncMode(int syncMode)
Set the sync mode of this source |
void |
setType(java.lang.String type)
Set the mime-type of this source |
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 MAIL
public static final java.lang.String CONTACT
public static final java.lang.String TASK
public static final java.lang.String CALENDAR
public static final java.lang.String NOTE
public static final java.lang.String BRIEFCASE
public static final java.lang.String VCARD_NAME
public static final java.lang.String VCARD_TYPE
public static final java.lang.String EMAIL_OBJECT_NAME
public static final java.lang.String EMAIL_OBJECT_TYPE
public static final java.lang.String FILE_OBJECT_TYPE
public static final java.lang.String BRIEFCASE_TYPE
protected static final int VERSION_600
protected static final int VERSION
Constructor Detail |
---|
public SourceConfig()
public SourceConfig(java.lang.String name, java.lang.String type, java.lang.String remoteUri)
Method Detail |
---|
public java.lang.String getName()
public void setName(java.lang.String name)
public java.lang.String getType()
public void setType(java.lang.String type)
public java.lang.String getEncoding()
public void setEncoding(java.lang.String enc)
public int getSyncMode()
public void setSyncMode(int syncMode)
public java.lang.String getRemoteUri()
public void setRemoteUri(java.lang.String remoteUri)
public long getLastAnchor()
public void setLastAnchor(long anchor)
public long getNextAnchor()
public void setNextAnchor(long anchor)
public void setMaxItemsPerMessageInSlowSync(int value)
public int getMaxItemsPerMessageInSlowSync()
public boolean getBreakMsgOnLastChunk()
public void setBreakMsgOnLastChunk(boolean value)
public void serialize(java.io.DataOutputStream out) throws java.io.IOException
out
- Output stream
java.io.IOException
public void deserialize(java.io.DataInputStream in) throws java.io.IOException
in
- Input stream
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |