@Test public void testCreateName() { assertEquals( "s3: fileName.createName( "/path/to/my/file", FileType.FILE ).getURI() ); }
public FileName createName( String absPath, FileType type ) { return new S3FileName( getScheme(), bucketId, absPath, type ); }
S3FileName extends AbstractFileName { public FileName createName( String absPath, FileType type ) { return new S3FileName( getScheme(), bucketId, absPath, type ); } }
S3FileName extends AbstractFileName { public FileName createName( String absPath, FileType type ) { return new S3FileName( getScheme(), bucketId, absPath, type ); } S3FileName( String scheme, String bucketId, String path, FileType type ); }
S3FileName extends AbstractFileName { public FileName createName( String absPath, FileType type ) { return new S3FileName( getScheme(), bucketId, absPath, type ); } S3FileName( String scheme, String bucketId, String path, FileType type ); @Override String getURI(); String getBucketId(); String getBucketRelativePath(); FileName createName( String absPath, FileType type ); }
S3FileName extends AbstractFileName { public FileName createName( String absPath, FileType type ) { return new S3FileName( getScheme(), bucketId, absPath, type ); } S3FileName( String scheme, String bucketId, String path, FileType type ); @Override String getURI(); String getBucketId(); String getBucketRelativePath(); FileName createName( String absPath, FileType type ); static final String DELIMITER; }