Package org.refcodes.net
Interface ContentTypeAccessor.ContentTypeProvider
-
- All Known Implementing Classes:
MediaType
- Enclosing interface:
- ContentTypeAccessor
public static interface ContentTypeAccessor.ContentTypeProvider
A provider interface provides a "toSomething(?)" method which converts a given instance into something else. TheContentTypeAccessor.ContentTypeProvider
converts an implementing instance's state into aContentType
instance.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ContentType
toContentType()
Returns theContentType
instance from the implementing instance.
-
-
-
Method Detail
-
toContentType
ContentType toContentType()
Returns theContentType
instance from the implementing instance.- Returns:
- The according
ContentType
instance represented by the implementing instance.
-
-