Class Utilities
-
- All Implemented Interfaces:
public final class UtilitiesAccess to any and all utility-classes we may have.
Griefed
-
-
Field Summary
Fields Modifier and Type Field Description private final WebUtilitieswebUtilitiesprivate final JsonUtilitiesjsonUtilitiesprivate final XmlUtilitiesxmlUtilities
-
Constructor Summary
Constructors Constructor Description Utilities(ApiProperties apiProperties, ObjectMapper objectMapper, DocumentBuilderFactory documentBuilderFactory)Builds the bundle from the pieces each helper needs, constructing the helpers itself. Utilities(WebUtilities webUtilities, JsonUtilities jsonUtilities, XmlUtilities xmlUtilities)Builds the bundle from helpers that have already been constructed.
-
Method Summary
Modifier and Type Method Description final WebUtilitiesgetWebUtilities()Download and link-opening helpers. final JsonUtilitiesgetJsonUtilities()JSON reading/parsing helpers, injected wherever a manifest has to be understood. final XmlUtilitiesgetXmlUtilities()XML reading helpers, used for the maven-metadata manifests Forge and Fabric publish. -
-
Constructor Detail
-
Utilities
Utilities(ApiProperties apiProperties, ObjectMapper objectMapper, DocumentBuilderFactory documentBuilderFactory)
Builds the bundle from the pieces each helper needs, constructing the helpers itself.
-
Utilities
Utilities(WebUtilities webUtilities, JsonUtilities jsonUtilities, XmlUtilities xmlUtilities)
Builds the bundle from helpers that have already been constructed.
-
-
Method Detail
-
getWebUtilities
final WebUtilities getWebUtilities()
Download and link-opening helpers. Deliberately in
-apiso plugins get them too.
-
getJsonUtilities
final JsonUtilities getJsonUtilities()
JSON reading/parsing helpers, injected wherever a manifest has to be understood.
-
getXmlUtilities
final XmlUtilities getXmlUtilities()
XML reading helpers, used for the maven-metadata manifests Forge and Fabric publish.
-
-
-
-