com.partnersoft.io
Class VFSTool

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

public class VFSTool
extends java.lang.Object

A VFS-based file management tool. Primarily designed to facilitate updates from one VFS to another.

Author:
Paul Reavis Copyright 2005 Partner Software, Inc.

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

Constructor Detail

VFSTool

public VFSTool(VFS source,
               VFS destination)

VFSTool

public VFSTool(VFS source,
               VFS destination,
               ActivityProgress progress)
Method Detail

copyRecursive

public void copyRecursive(java.lang.String path)
                   throws java.io.IOException
Copies an entire directory recursively from one VFS to another.

Throws:
java.io.IOException

copyRecursive

public void copyRecursive(java.lang.String path,
                          int progressLevel)
                   throws java.io.IOException
Copies an entire directory recursively from one VFS to another.

Throws:
java.io.IOException

copyRecursive

public void copyRecursive(java.lang.String sourcePath,
                          java.lang.String destPath)
                   throws java.io.IOException
Copies an entire directory recursively from one VFS to another.

Throws:
java.io.IOException

copyRecursive

public void copyRecursive(java.lang.String sourcePath,
                          java.lang.String destPath,
                          int progressLevel)
                   throws java.io.IOException
Throws:
java.io.IOException

copy

public void copy(java.lang.String path)
          throws java.io.IOException
Throws:
java.io.IOException

copy

public void copy(java.lang.String sourcePath,
                 java.lang.String destPath,
                 int progressLevel)
          throws java.io.IOException
Throws:
java.io.IOException

getSource

public VFS getSource()

getDestination

public VFS getDestination()