Oxygen XML Editor, Version 13.2

ro.sync.ecss.extensions.api.component.sync
Class ResourcesSynchronizer

java.lang.Object
  extended by ro.sync.ecss.extensions.api.component.sync.ResourcesSynchronizer

@API(type=INTERNAL,
     src=PRIVATE)
public class ResourcesSynchronizer
extends java.lang.Object

Synchronize the set of remote framework zip URLs to use with the local expanded user frameworks.


Constructor Summary
ResourcesSynchronizer(java.io.File syncDir, ResourcesSynchronizerListener listener)
          Synchronizer constructor.
 
Method Summary
 SyncInfoManager getSyncManager()
           
 void sync(Resource2Synchronize[] resources)
          Synchronize the set of remote framework zip URLs to use with the local expanded user frameworks.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourcesSynchronizer

public ResourcesSynchronizer(java.io.File syncDir,
                             ResourcesSynchronizerListener listener)
Synchronizer constructor.

Parameters:
syncDir - The directory to use for expanding new frameworks, deleting old ones, etc
listener - The resource synchronizer listener.
Method Detail

getSyncManager

public SyncInfoManager getSyncManager()
Returns:
Returns the syncManager.

sync

public void sync(Resource2Synchronize[] resources)
Synchronize the set of remote framework zip URLs to use with the local expanded user frameworks.

Parameters:
resources - The resources to be synchronized. the modification time will be obtained from the URL itself.

Oxygen XML Editor, Version 13.2

© Copyright Syncro Soft SRL 2002 - 2012.