com.perforce.p4java.util
Class FilesHelper

java.lang.Object
  extended by com.perforce.p4java.util.FilesHelper

public class FilesHelper
extends Object

Files helper class with generally useful methods.


Constructor Summary
FilesHelper()
           
 
Method Summary
static boolean copy(File source, File destination)
          Copy source file to destination file.
static boolean mkdirs(File file)
          Create all directories, including nonexistent parent directories.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilesHelper

public FilesHelper()
Method Detail

copy

public static boolean copy(File source,
                           File destination)
                    throws IOException
Copy source file to destination file.

Throws:
IOException

mkdirs

public static boolean mkdirs(File file)
Create all directories, including nonexistent parent directories.



Copyright © 2015 Perforce Software. All Rights Reserved.