@Test public void testGetS3ObjectLenght() throws Exception { long actual = provider.getS3ObjectContentLenght( BUCKET1, "tests3Object" ); assertEquals( testObject.getContentLength(), actual ); }
public long getS3ObjectContentLenght( S3Bucket bucket, String objectKey ) throws S3ServiceException { return getS3ObjectDetails( bucket, objectKey ).getContentLength(); }
S3ObjectsProvider { public long getS3ObjectContentLenght( S3Bucket bucket, String objectKey ) throws S3ServiceException { return getS3ObjectDetails( bucket, objectKey ).getContentLength(); } }
S3ObjectsProvider { public long getS3ObjectContentLenght( S3Bucket bucket, String objectKey ) throws S3ServiceException { return getS3ObjectDetails( bucket, objectKey ).getContentLength(); } S3ObjectsProvider( S3Service service ); }
S3ObjectsProvider { public long getS3ObjectContentLenght( S3Bucket bucket, String objectKey ) throws S3ServiceException { return getS3ObjectDetails( bucket, objectKey ).getContentLength(); } S3ObjectsProvider( S3Service service ); String[] getBucketsNames(); S3Bucket getBucket( String bucketName ); String[] getS3ObjectsNames( String bucketName ); S3Object getS3Object( S3Bucket bucket, String objectKey, Long byteRangeStart, Long byteRangeEnd ); S3Object getS3Object( S3Bucket bucket, String objectKey ); long getS3ObjectContentLenght( S3Bucket bucket, String objectKey ); }
S3ObjectsProvider { public long getS3ObjectContentLenght( S3Bucket bucket, String objectKey ) throws S3ServiceException { return getS3ObjectDetails( bucket, objectKey ).getContentLength(); } S3ObjectsProvider( S3Service service ); String[] getBucketsNames(); S3Bucket getBucket( String bucketName ); String[] getS3ObjectsNames( String bucketName ); S3Object getS3Object( S3Bucket bucket, String objectKey, Long byteRangeStart, Long byteRangeEnd ); S3Object getS3Object( S3Bucket bucket, String objectKey ); long getS3ObjectContentLenght( S3Bucket bucket, String objectKey );  }