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)
ContentTypeAnalyzergetContentType in interface ContentTypeAnalyzerresource - to analyze5.6.4 - Copyright © 2003-2021 The Apache Software Foundation.