Package org.jitterbit.integration.client.entity.settings

Examples of org.jitterbit.integration.client.entity.settings.FileResource.toFile()


        synchronized (this) {
            if (info != null && info.contains(fileId)) {
                String name = DataFileName.fromIdentifier(fileId);
                FileResource resource = rc.getFileResource(tx, name);
                if (resource.exists()) {
                    return new TransformationDataFileImpl(fileId, resource.toFile());
                }
            }
        }
        return TransformationDataFile.NULL;
    }
View Full Code Here


    }

    private void deleteDataFiles(FileFilter filter) {
        // HACK: There must be a better way of getting the name of the folder.
        FileResource tmp = rc.getFileResource(tx, "__dummy__");
        Folder parent = Folder.parentOf(tmp.toFile());
        parent.deleteFiles(filter);
    }

    private void setFilesInfo(DataFilesInfo info) {
        synchronized (this) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.