Package org.projectnessie.model.types
Class ContentTypes
- java.lang.Object
-
- org.projectnessie.model.types.ContentTypes
-
public final class ContentTypes extends java.lang.ObjectProvides the registry for allcontent types.Content types are loaded via
ContentTypeBundles using Java'sservice loadermechanism.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceContentTypes.RegistrarAn implementation of this interface is passed toContentTypeBundles.
-
Constructor Summary
Constructors Constructor Description ContentTypes()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Content.Type[]all()Retrieve an array of all registered content types.static Content.TypeforName(java.lang.String name)
-
-
-
Method Detail
-
all
public static Content.Type[] all()
Retrieve an array of all registered content types.
-
forName
public static Content.Type forName(java.lang.String name)
-
-