Class ContentTypeAnalyzerImpl
java.lang.Object
org.apache.tapestry5.internal.services.assets.ContentTypeAnalyzerImpl
- All Implemented Interfaces:
ContentTypeAnalyzer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetContentType
(Resource resource) Analyze the resource to determine its content type.
-
Constructor Details
-
ContentTypeAnalyzerImpl
-
-
Method Details
-
getContentType
Description copied from interface:ContentTypeAnalyzer
Analyze the resource to determine its content type.- Specified by:
getContentType
in interfaceContentTypeAnalyzer
- Parameters:
resource
- to analyze- Returns:
- a MIME content type
-