public class MetadataCollection
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
MetadataCollection.ArtifactVersionAdapter |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.lang.String,ModMetadata> |
metadatas |
private ModMetadata[] |
modList |
private java.lang.String |
modListVersion |
Constructor and Description |
---|
MetadataCollection() |
Modifier and Type | Method and Description |
---|---|
static MetadataCollection |
from(java.io.InputStream inputStream,
java.lang.String sourceName) |
ModMetadata |
getMetadataForId(java.lang.String modId,
java.util.Map<java.lang.String,java.lang.Object> extraData) |
private void |
parseModMetadataList() |
private java.lang.String modListVersion
private ModMetadata[] modList
private java.util.Map<java.lang.String,ModMetadata> metadatas
public static MetadataCollection from(@Nullable java.io.InputStream inputStream, java.lang.String sourceName)
private void parseModMetadataList()
public ModMetadata getMetadataForId(java.lang.String modId, java.util.Map<java.lang.String,java.lang.Object> extraData)