Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.flexstor.common.io.xfile
Interface XFileMoveI  view XFileMoveI download XFileMoveI.java

All Superinterfaces:
XFileAccessorI

public interface XFileMoveI
extends XFileAccessorI

This interface defines all the methods to be implemented by a move utility for a specific file protocol. Every file protocol must have a move utility class.


Method Summary
 boolean move(java.lang.String sSourceFile, java.lang.String sDestFile)
          Moves the source file to the destination file specified.
 boolean moveToDir(java.lang.String sSourceFile, java.lang.String sDestDir)
          Moves the source file to the destination directory specified.
 
Methods inherited from interface com.flexstor.common.io.xfile.XFileAccessorI
connect, disconnect
 

Method Detail

move

public boolean move(java.lang.String sSourceFile,
                    java.lang.String sDestFile)
Moves the source file to the destination file specified.


moveToDir

public boolean moveToDir(java.lang.String sSourceFile,
                         java.lang.String sDestDir)
Moves the source file to the destination directory specified.