Package io.fathom.cloud.protobuf.FileModel

Examples of io.fathom.cloud.protobuf.FileModel.BucketData


    }

    @Override
    public ByteSource getData(Project project, String bucketName, String name, Long from, Long to) throws IOException,
            CloudException {
        BucketData bucketData = getBucket(project, bucketName);
        FsBucket fsBucket = new FsBucket(project, bucketData);

        FsFile fsFile = findFileInfo(fsBucket, name);
        if (fsFile == null) {
            return null;
View Full Code Here


        return object.asByteSource(blobStore, from, to);
    }

    @Override
    public void ensureBucket(Project project, String bucketName) throws CloudException {
        BucketData bucket = fileStore.getBuckets(project.getId()).find(bucketName);
        if (bucket == null) {
            putBucket(project, bucketName, null, null);
        }
    }
View Full Code Here

TOP

Related Classes of io.fathom.cloud.protobuf.FileModel.BucketData

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.