proper.io
Class CopyFile

java.lang.Object
  extended by proper.io.CopyFile

public class CopyFile
extends java.lang.Object

This class just copies a files from one location to another one.
Originally taken from here.

Version:
$Revision: 1.2 $
Author:
FracPete

Constructor Summary
CopyFile()
           
 
Method Summary
static boolean copy(java.lang.String from, java.lang.String to)
          tries to copy the given file to the new location
static void main(java.lang.String[] args)
          for testing only
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CopyFile

public CopyFile()
Method Detail

copy

public static boolean copy(java.lang.String from,
                           java.lang.String to)
tries to copy the given file to the new location


main

public static void main(java.lang.String[] args)
for testing only