com.partnersoft.io
Class VFSLib

java.lang.Object
  extended by com.partnersoft.io.VFSLib

public class VFSLib
extends java.lang.Object

Various handy VFS methods.

Author:
Paul Reavis Copyright 2004 Partner Software, Inc.

Constructor Summary
VFSLib()
           
 
Method Summary
static void copy(VFS source, java.lang.String sourcePath, VFS destination, java.lang.String destPath, ActivityProgress progress, int progressLevel)
           
static void copyTree(VFS source, java.lang.String sourcePath, VFS destination, java.lang.String destPath)
          Copies an entire directory tree from one VFS to another.
static void copyTree(VFS source, java.lang.String sourcePath, VFS destination, java.lang.String destPath, ActivityProgress progress, int progressLevel)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VFSLib

public VFSLib()
Method Detail

copyTree

public static void copyTree(VFS source,
                            java.lang.String sourcePath,
                            VFS destination,
                            java.lang.String destPath)
                     throws java.io.IOException
Copies an entire directory tree from one VFS to another.

Throws:
java.io.IOException

copyTree

public static void copyTree(VFS source,
                            java.lang.String sourcePath,
                            VFS destination,
                            java.lang.String destPath,
                            ActivityProgress progress,
                            int progressLevel)
                     throws java.io.IOException
Throws:
java.io.IOException

copy

public static void copy(VFS source,
                        java.lang.String sourcePath,
                        VFS destination,
                        java.lang.String destPath,
                        ActivityProgress progress,
                        int progressLevel)
                 throws java.io.IOException
Throws:
java.io.IOException