public class ContentTypeAnalyzerImpl extends Object implements ContentTypeAnalyzer
Constructor and Description |
---|
ContentTypeAnalyzerImpl(Context context,
Map<String,String> configuration) |
Modifier and Type | Method and Description |
---|---|
String |
getContentType(Resource resource)
Analyze the resource to determine its content type.
|
public ContentTypeAnalyzerImpl(Context context, Map<String,String> configuration)
public String getContentType(Resource resource)
ContentTypeAnalyzer
getContentType
in interface ContentTypeAnalyzer
resource
- to analyze${project.version} - Copyright © 2003-2015 The Apache Software Foundation.