Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.tapestry5.internal.services.assets
Class ContentTypeAnalyzerImpl

    java.lang.Object
      org.apache.tapestry5.internal.services.assets.ContentTypeAnalyzerImpl

All Implemented Interfaces:
  ContentTypeAnalyzer

    public class ContentTypeAnalyzerImpl

extends java.lang.Object
implements ContentTypeAnalyzer

Constructor Summary
`ContentTypeAnalyzerImpl(Context context, java.util.Map<java.lang.String,java.lang.String> configuration)`

Method Summary
`java.lang.String` | `getContentType(Resource resource)` Analyze the resource to determine its content type.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ContentTypeAnalyzerImpl

    public ContentTypeAnalyzerImpl(Context context,
                                   java.util.Map<java.lang.String,java.lang.String> configuration)

Method Detail

### getContentType

    public java.lang.String getContentType(Resource resource)

  Description copied from interface: `ContentTypeAnalyzer`
  Analyze the resource to determine its content type.

  Specified by:
    `getContentType` in interface `ContentTypeAnalyzer`
  Parameters:
    `resource` - to analyze
  Returns:
    a MIME content type

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2012 The Apache Software Foundation.