org.dawb.common.util.sync
Class Sync
java.lang.Object
org.dawb.common.util.sync.Sync
public class Sync
- extends java.lang.Object
Sync performs one-way directory or file synchronization.
Constructor Summary |
Sync()
|
Method Summary |
static void |
main(java.lang.String[] args)
|
static void |
sync(java.lang.String[] args)
Main entry point for the Sync program. |
static void |
syncFolders(java.lang.String source,
java.lang.String target)
Method added to allow a sync to be done by calling method directly |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Sync
public Sync()
syncFolders
public static void syncFolders(java.lang.String source,
java.lang.String target)
throws java.lang.Exception
- Method added to allow a sync to be done by calling method directly
- Parameters:
source
- target
-
- Throws:
java.lang.Exception
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- Throws:
java.lang.Exception
sync
public static void sync(java.lang.String[] args)
throws java.lang.Exception
- Main entry point for the Sync program.
- Parameters:
args
- Command-line argument strings
- Throws:
java.lang.Exception