Package org.syncany.plugins.transfer

Examples of org.syncany.plugins.transfer.StorageMoveException


    File sourceRemoteFile = getRemoteFile(sourceFile);
    File targetRemoteFile = getRemoteFile(targetFile);

    if (!sourceRemoteFile.exists()) {
      throw new StorageMoveException("Unable to move file " + sourceFile + " because it does not exist.");
    }

    try {
      FileUtils.moveFile(sourceRemoteFile, targetRemoteFile);
    }
View Full Code Here

TOP

Related Classes of org.syncany.plugins.transfer.StorageMoveException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.