Package io.github.qishr.cascara.common.util
Interface ContentTypeResolver
java.lang.Object
io.github.qishr.cascara.common.util.ContentTypeResolver
All Implemented Interfaces:
ServiceProvider
All Known Implementing Classes:
ContentTypeStore
public interface ContentTypeResolver
Method Summary
| Modifier and Type | Method | Description |
|---|---|---|
| public abstract ContentType | resolve(String type) | |
| public abstract void | add(ContentType contentType) | |
| public abstract void | addAll(List<? extends ContentType> contentTypes) |
Method Details
resolve
public abstract ContentType resolve(String type)
add
public abstract void add(ContentType contentType)
addAll
public abstract void addAll(List<? extends ContentType> contentTypes)