Class NameBaseMimeResolver
java.lang.Object
org.pentaho.platform.plugin.services.importer.NameBaseMimeResolver
- All Implemented Interfaces:
org.pentaho.platform.api.mimetype.IPlatformMimeResolver
public class NameBaseMimeResolver
extends Object
implements org.pentaho.platform.api.mimetype.IPlatformMimeResolver
Resolves mime-types by extension.
User: nbaker Date: 6/18/12
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addMimeType
(org.pentaho.platform.api.mimetype.IMimeType mimeType) resolveMimeForBundle
(org.pentaho.platform.api.repository2.unified.IPlatformImportBundle bundle) resolveMimeForFileName
(String fileName) org.pentaho.platform.api.mimetype.IMimeType
resolveMimeTypeForFileName
(String fileName)
-
Constructor Details
-
NameBaseMimeResolver
public NameBaseMimeResolver()
-
-
Method Details
-
resolveMimeForFileName
- Specified by:
resolveMimeForFileName
in interfaceorg.pentaho.platform.api.mimetype.IPlatformMimeResolver
-
resolveMimeForBundle
public String resolveMimeForBundle(org.pentaho.platform.api.repository2.unified.IPlatformImportBundle bundle) - Specified by:
resolveMimeForBundle
in interfaceorg.pentaho.platform.api.mimetype.IPlatformMimeResolver
-
resolveMimeTypeForFileName
- Specified by:
resolveMimeTypeForFileName
in interfaceorg.pentaho.platform.api.mimetype.IPlatformMimeResolver
-
addMimeType
public void addMimeType(org.pentaho.platform.api.mimetype.IMimeType mimeType) - Specified by:
addMimeType
in interfaceorg.pentaho.platform.api.mimetype.IPlatformMimeResolver
-