Interface ResourceMetadata
public interface ResourceMetadata
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ResourceMetadatastatic final IoSupplier<ResourceMetadata> -
Method Summary
Modifier and TypeMethodDescriptionstatic ResourceMetadatafromJsonStream(InputStream stream) <T> Optional<T> getSection(MetadataSectionType<T> type) default <T> Optional<MetadataSectionType.WithValue<T>> getTypedSection(MetadataSectionType<T> type) default List<MetadataSectionType.WithValue<?>> getTypedSections(Collection<MetadataSectionType<?>> types)
-
Field Details
-
EMPTY
-
EMPTY_SUPPLIER
-
-
Method Details
-
fromJsonStream
- Throws:
IOException
-
getSection
-
getTypedSection
-
getTypedSections
default List<MetadataSectionType.WithValue<?>> getTypedSections(Collection<MetadataSectionType<?>> types)
-