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