org.eclipse.core.internal.resources
Class SyncInfoWriter
java.lang.Object
org.eclipse.core.internal.resources.SyncInfoWriter
public class SyncInfoWriter
- extends java.lang.Object
Method Summary |
void |
savePartners(java.io.DataOutputStream output)
|
void |
saveSyncInfo(ResourceInfo info,
IPathRequestor requestor,
java.io.DataOutputStream output,
java.util.List writtenPartners)
SAVE_FILE -> VERSION_ID RESOURCE+
VERSION_ID -> int
RESOURCE -> RESOURCE_PATH SIZE SYNCINFO*
RESOURCE_PATH -> String
SIZE -> int
SYNCINFO -> TYPE BYTES
TYPE -> INDEX | QNAME
INDEX -> byte int
QNAME -> byte String
BYTES -> byte[] |
void |
snapSyncInfo(ResourceInfo info,
IPathRequestor requestor,
java.io.DataOutputStream output)
SNAP_FILE -> [VERSION_ID RESOURCE]*
VERSION_ID -> int
RESOURCE -> RESOURCE_PATH SIZE SYNCINFO*
RESOURCE_PATH -> String
SIZE -> int
SYNCINFO -> QNAME BYTES
QNAME -> String String
BYTES -> byte[] |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SYNCINFO_SAVE_VERSION
public static final int SYNCINFO_SAVE_VERSION
- See Also:
- Constant Field Values
SYNCINFO_SNAP_VERSION
public static final int SYNCINFO_SNAP_VERSION
- See Also:
- Constant Field Values
INDEX
public static final byte INDEX
- See Also:
- Constant Field Values
QNAME
public static final byte QNAME
- See Also:
- Constant Field Values
SyncInfoWriter
public SyncInfoWriter(Workspace workspace,
Synchronizer synchronizer)
savePartners
public void savePartners(java.io.DataOutputStream output)
throws java.io.IOException
- Throws:
java.io.IOException
saveSyncInfo
public void saveSyncInfo(ResourceInfo info,
IPathRequestor requestor,
java.io.DataOutputStream output,
java.util.List writtenPartners)
throws java.io.IOException
- SAVE_FILE -> VERSION_ID RESOURCE+
VERSION_ID -> int
RESOURCE -> RESOURCE_PATH SIZE SYNCINFO*
RESOURCE_PATH -> String
SIZE -> int
SYNCINFO -> TYPE BYTES
TYPE -> INDEX | QNAME
INDEX -> byte int
QNAME -> byte String
BYTES -> byte[]
- Throws:
java.io.IOException
snapSyncInfo
public void snapSyncInfo(ResourceInfo info,
IPathRequestor requestor,
java.io.DataOutputStream output)
throws java.io.IOException
- SNAP_FILE -> [VERSION_ID RESOURCE]*
VERSION_ID -> int
RESOURCE -> RESOURCE_PATH SIZE SYNCINFO*
RESOURCE_PATH -> String
SIZE -> int
SYNCINFO -> QNAME BYTES
QNAME -> String String
BYTES -> byte[]
- Throws:
java.io.IOException