IPath sourceLocation = workspace.getMetaArea().getSyncInfoLocationFor(resource);
IPath tempLocation = workspace.getMetaArea().getBackupLocationFor(sourceLocation);
if (!sourceLocation.toFile().exists() && !tempLocation.toFile().exists())
return;
try {
DataInputStream input = new DataInputStream(new SafeFileInputStream(sourceLocation.toOSString(), tempLocation.toOSString()));
try {
SyncInfoReader reader = new SyncInfoReader(workspace, this);
reader.readSyncInfo(input);
} finally {
input.close();