Nuxeo ECM Projects 5.4.3-SNAPSHOT

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

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

public class MimeTypeTranslationHelper
extends Object

Helper class to manage chains of converters.

Author:
tiry

Method Summary
static void addConverter(ConverterDescriptor desc)
           
static String getConverterName(String sourceMimeType, String destMimeType)
           
static List<String> getConverterNames(String sourceMimeType, String destMimeType)
           
static List<String> getDestinationMimeTypes(String sourceMimeType)
           
static List<String> getSourceMimeTypes(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 String getConverterName(String sourceMimeType,
                                      String destMimeType)

getConverterNames

public static List<String> getConverterNames(String sourceMimeType,
                                             String destMimeType)

getDestinationMimeTypes

public static List<String> getDestinationMimeTypes(String sourceMimeType)

getSourceMimeTypes

public static List<String> getSourceMimeTypes(String destinationMimeType)

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.