Interface ResourceMetadata
public interface ResourceMetadata
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ResourceMetadata
static final IoSupplier
<ResourceMetadata> -
Method Summary
Modifier and TypeMethodDescriptionprivate <T> void
copySection
(ResourceMetadata.Builder builder, MetadataSectionSerializer<T> serializer) default ResourceMetadata
copySections
(Collection<MetadataSectionSerializer<?>> serializers) static ResourceMetadata
fromJsonStream
(InputStream stream) <T> Optional
<T> getSection
(MetadataSectionSerializer<T> serializer)
-
Field Details
-
EMPTY
-
EMPTY_SUPPLIER
-
-
Method Details
-
fromJsonStream
- Throws:
IOException
-
getSection
-
copySections
-
copySection
private <T> void copySection(ResourceMetadata.Builder builder, MetadataSectionSerializer<T> serializer)
-