Interface ResourceMetadata
public interface ResourceMetadata
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ResourceMetadatastatic final IoSupplier<ResourceMetadata> -
Method Summary
Modifier and TypeMethodDescriptionprivate <T> voidcopySection(ResourceMetadata.Builder p_299159_, MetadataSectionSerializer<T> p_300161_) default ResourceMetadatacopySections(Collection<MetadataSectionSerializer<?>> p_299820_) static ResourceMetadatafromJsonStream(InputStream p_215581_) <T> Optional<T>getSection(MetadataSectionSerializer<T> p_215579_)
-
Field Details
-
EMPTY
-
EMPTY_SUPPLIER
-
-
Method Details
-
fromJsonStream
- Throws:
IOException
-
getSection
-
copySections
-
copySection
private <T> void copySection(ResourceMetadata.Builder p_299159_, MetadataSectionSerializer<T> p_300161_)
-