com.sun.labs.minion.util
Class DirCopier

java.lang.Object
  extended by com.sun.labs.minion.util.DirCopier

public class DirCopier
extends java.lang.Object

A class that will copy data from a source directory to a target directory.


Constructor Summary
DirCopier(java.io.File source, java.io.File target)
           
 
Method Summary
 void copy()
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DirCopier

public DirCopier(java.io.File source,
                 java.io.File target)
          throws java.io.IOException
Throws:
java.io.IOException
Method Detail

copy

public void copy()
          throws java.io.IOException
Throws:
java.io.IOException

main

public static void main(java.lang.String[] args)
                 throws java.io.IOException
Throws:
java.io.IOException