Class ContentTypes

java.lang.Object
org.projectnessie.model.types.ContentTypes

public final class ContentTypes extends Object
Provides the registry for all content types.

Content types are loaded via ContentTypeBundles using Java's service loader mechanism.

  • Constructor Details

    • ContentTypes

      public ContentTypes()
  • Method Details

    • all

      public static Content.Type[] all()
      Retrieve an array of all registered content types.
    • forName

      @Nonnull @Nonnull public static Content.Type forName(String name)