Package com.mucommander.job

Examples of com.mucommander.job.TransferFileJob


    @Override
    protected TransferFileJob createTransferFileJob(ProgressDialog progressDialog, PathUtils.ResolvedDestination resolvedDest, int defaultFileExistsAction) {
        AbstractFile baseFolder = files.getBaseFolder();
        AbstractArchiveFile parentArchiveFile = baseFolder.getParentArchive();
        TransferFileJob job;
        String newName = resolvedDest.getDestinationType()==PathUtils.ResolvedDestination.EXISTING_FOLDER?null:resolvedDest.getDestinationFile().getName();

        // If the source files are located inside an archive, use UnpackJob instead of CopyJob to unpack archives in
        // their natural order (more efficient)
        if(parentArchiveFile!=null) {
View Full Code Here


            skipErrors = false;
            verifyIntegrity = false;
        }

        ProgressDialog progressDialog = new ProgressDialog(mainFrame, getProgressDialogTitle());
        TransferFileJob job = createTransferFileJob(progressDialog, resolvedDest, defaultFileExistsAction);

        if(job!=null) {
            job.setAutoSkipErrors(skipErrors);
            job.setIntegrityCheckEnabled(verifyIntegrity);
            progressDialog.start(job);
        }
    }
View Full Code Here

TOP

Related Classes of com.mucommander.job.TransferFileJob

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.