Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.core.convert.service
Class MimeTypeTranslationHelper

java.lang.Object
  extended by org.nuxeo.ecm.core.convert.service.MimeTypeTranslationHelper

public class MimeTypeTranslationHelper
extends java.lang.Object

Helper class to manage chains of converters.

Author:
tiry

Method Summary
static void addConverter(ConverterDescriptor desc)
           
static java.lang.String getConverterName(java.lang.String sourceMimeType, java.lang.String destMimeType)
           
static java.util.List<java.lang.String> getConverterNames(java.lang.String sourceMimeType, java.lang.String destMimeType)
           
static java.util.List<java.lang.String> getDestinationMimeTypes(java.lang.String sourceMimeType)
           
static java.util.List<java.lang.String> getSourceMimeTypes(java.lang.String destinationMimeType)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

addConverter

public static void addConverter(ConverterDescriptor desc)

getConverterName

public static java.lang.String getConverterName(java.lang.String sourceMimeType,
                                                java.lang.String destMimeType)

getConverterNames

public static java.util.List<java.lang.String> getConverterNames(java.lang.String sourceMimeType,
                                                                 java.lang.String destMimeType)

getDestinationMimeTypes

public static java.util.List<java.lang.String> getDestinationMimeTypes(java.lang.String sourceMimeType)

getSourceMimeTypes

public static java.util.List<java.lang.String> getSourceMimeTypes(java.lang.String destinationMimeType)

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.