public class NameBaseMimeResolver extends Object implements org.pentaho.platform.api.mimetype.IPlatformMimeResolver
Constructor and Description |
---|
NameBaseMimeResolver() |
Modifier and Type | Method and Description |
---|---|
void |
addMimeType(org.pentaho.platform.api.mimetype.IMimeType mimeType) |
String |
resolveMimeForBundle(org.pentaho.platform.api.repository2.unified.IPlatformImportBundle bundle) |
String |
resolveMimeForFileName(String fileName) |
org.pentaho.platform.api.mimetype.IMimeType |
resolveMimeTypeForFileName(String fileName) |
public String resolveMimeForFileName(String fileName)
resolveMimeForFileName
in interface org.pentaho.platform.api.mimetype.IPlatformMimeResolver
public String resolveMimeForBundle(org.pentaho.platform.api.repository2.unified.IPlatformImportBundle bundle)
resolveMimeForBundle
in interface org.pentaho.platform.api.mimetype.IPlatformMimeResolver
public org.pentaho.platform.api.mimetype.IMimeType resolveMimeTypeForFileName(String fileName)
resolveMimeTypeForFileName
in interface org.pentaho.platform.api.mimetype.IPlatformMimeResolver
public void addMimeType(org.pentaho.platform.api.mimetype.IMimeType mimeType)
addMimeType
in interface org.pentaho.platform.api.mimetype.IPlatformMimeResolver
Copyright © 2021 Hitachi Vantara. All rights reserved.