@Test public void testGetMetadataBucket() throws Exception { final Path container = new Path("test-us-east-1-cyberduck", EnumSet.of(Path.Type.volume)); final Map<String, String> metadata = new S3MetadataFeature(session, new S3AccessControlListFeature(session)).getMetadata(container); assertTrue(metadata.isEmpty()); }
@Override public Map<String, String> getMetadata(final Path file) throws BackgroundException { return new S3AttributesFinderFeature(session).find(file).getMetadata(); }
S3MetadataFeature implements Headers { @Override public Map<String, String> getMetadata(final Path file) throws BackgroundException { return new S3AttributesFinderFeature(session).find(file).getMetadata(); } }
S3MetadataFeature implements Headers { @Override public Map<String, String> getMetadata(final Path file) throws BackgroundException { return new S3AttributesFinderFeature(session).find(file).getMetadata(); } S3MetadataFeature(final S3Session session, final S3AccessControlListFeature accessControlListFeature); }
S3MetadataFeature implements Headers { @Override public Map<String, String> getMetadata(final Path file) throws BackgroundException { return new S3AttributesFinderFeature(session).find(file).getMetadata(); } S3MetadataFeature(final S3Session session, final S3AccessControlListFeature accessControlListFeature); @Override Map<String, String> getDefault(final Local local); @Override Map<String, String> getMetadata(final Path file); @Override void setMetadata(final Path file, final TransferStatus status); }
S3MetadataFeature implements Headers { @Override public Map<String, String> getMetadata(final Path file) throws BackgroundException { return new S3AttributesFinderFeature(session).find(file).getMetadata(); } S3MetadataFeature(final S3Session session, final S3AccessControlListFeature accessControlListFeature); @Override Map<String, String> getDefault(final Local local); @Override Map<String, String> getMetadata(final Path file); @Override void setMetadata(final Path file, final TransferStatus status);  }