Package net.sourceforge.processdash.tool.bridge.impl

Examples of net.sourceforge.processdash.tool.bridge.impl.FileResourceCollection


   
    protected BridgedWorkingDirectory(File targetDirectory, String remoteURL,
            FileResourceCollectionStrategy strategy, File workingDirectoryParent) {
        super(targetDirectory, remoteURL, strategy, workingDirectoryParent);

        collection = new FileResourceCollection(workingDirectory, false);
        collection.setStrategy(strategy);

        client = new ResourceBridgeClient(collection, remoteURL, strategy
                .getUnlockedFilter());
        client.setSourceIdentifier(getSourceIdentifier());
View Full Code Here


            FileResourceCollectionStrategy strategy) throws IOException {
        this.remoteURL = remoteURL;
        this.importDirectory = getCacheDirectoryForBridgedImport(remoteURL);
        this.importDirectory.mkdirs();

        FileResourceCollection localCollection = new FileResourceCollection(
                importDirectory, false);
        localCollection.setStrategy(strategy);
        this.client = new ResourceBridgeClient(localCollection, remoteURL, null);

        this.client.syncDown();
        this.lastUpdateTime = System.currentTimeMillis();
    }
View Full Code Here

TOP

Related Classes of net.sourceforge.processdash.tool.bridge.impl.FileResourceCollection

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.