Package org.jitterbit.integration.server.implementation.webservice.filemanagement.client

Examples of org.jitterbit.integration.server.implementation.webservice.filemanagement.client.FileManager


    }

    @Override
    public void downloadFile(String path, FileDownloadCallback callback) {
        try {
            FileManager fileMgr = getFileManager(callback);
            if (fileMgr == null) {
                // The callback has already been notified.
                return;
            }
            ServerInfo server = getConfiguration().getServerInfo();
            // Call web service.
            CDownloadedFile requestedFile = new CDownloadedFile();
            requestedFile.setPath(path);
            CFileDownloadResult downloadResult = fileMgr.downloadFile(getConfiguration().getUserName(),
                            getConfiguration().getPassword(), requestedFile);

            CDownloadedFile downloadedFile = downloadResult.getDownloadedFile();

            CDownloadedFile[] cdependencies = downloadResult.getDependencies();
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.server.implementation.webservice.filemanagement.client.FileManager

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.