Entitats.Eines
Class CopiaFitxer

java.lang.Object
  extended by Entitats.Eines.CopiaFitxer

public class CopiaFitxer
extends java.lang.Object


Constructor Summary
CopiaFitxer()
           
 
Method Summary
static java.lang.Long copia(java.io.File srcFile, java.io.File destFile)
           
static java.lang.Long creaChecksum(java.io.File file)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CopiaFitxer

public CopiaFitxer()
Method Detail

copia

public static java.lang.Long copia(java.io.File srcFile,
                                   java.io.File destFile)
                            throws java.io.IOException
Throws:
java.io.IOException

creaChecksum

public static java.lang.Long creaChecksum(java.io.File file)
                                   throws java.io.IOException
Throws:
java.io.IOException