foundry-0.9.1

foundry.io
Class FileUtils

java.lang.Object
  |
  +--foundry.io.FileUtils

public class FileUtils
extends Object

A class containing simple utility methods for working with Files.

Version:
@VERSION@
Author:
Laird Nelson

Constructor Summary
FileUtils()
           
 
Method Summary
 void copy(File source, File target)
          Copies a File to another location, making any intermediate directories in the process.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

FileUtils

public FileUtils()
Method Detail

copy

public void copy(File source,
                 File target)
          throws IOException
Copies a File to another location, making any intermediate directories in the process.
Parameters:
source - the File to copy
target - the File that should be the result of the copy
Throws:
IOException - if the source file does not exist, if the intermediate directories could not be created, if the reading and writing streams were corrupted, or if other similar types of errors occur.

foundry-0.9.1

Copyright © 2000 - Laird Jarrett Nelson