Cyberduck Mountain Duck CLI

Changeset 12671


Ignore:
Timestamp:
Sep 2, 2013 10:38:17 PM (6 years ago)
Author:
dkocher
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/ch/cyberduck/core/gstorage/GoogleStorageUrlProvider.java

    r12668 r12671  
    2323import ch.cyberduck.core.Path;
    2424import ch.cyberduck.core.URIEncoder;
     25import ch.cyberduck.core.UrlProvider;
    2526import ch.cyberduck.core.s3.S3UrlProvider;
    2627
     
    3132 * @version $Id$
    3233 */
    33 public class GoogleStorageUrlProvider extends S3UrlProvider {
     34public class GoogleStorageUrlProvider implements UrlProvider {
     35
     36    private GoogleStorageSession session;
    3437
    3538    public GoogleStorageUrlProvider(final GoogleStorageSession session) {
    36         super(session);
     39        this.session = session;
    3740    }
    3841
     
    4750    @Override
    4851    public DescriptiveUrlBag toUrl(final Path file) {
    49         final DescriptiveUrlBag list = super.toUrl(file);
     52        final DescriptiveUrlBag list = new S3UrlProvider(session).toUrl(file);
    5053        if(file.attributes().isFile()) {
    5154            // Authenticated browser download using cookie-based Google account authentication in conjunction with ACL
Note: See TracChangeset for help on using the changeset viewer.
swiss made software