org.exoplatform.common.util
Class MediaTypeHelper

java.lang.Object
  extended by org.exoplatform.common.util.MediaTypeHelper

public class MediaTypeHelper
extends java.lang.Object

Created by The eXo Platform SAS Author : eXoPlatform exo@exoplatform.com Jun 25, 2010


Field Summary
static java.util.Comparator<MediaType> MEDIA_TYPE_COMPARATOR
          Compare two mimetypes.
 
Constructor Summary
MediaTypeHelper()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MEDIA_TYPE_COMPARATOR

public static final java.util.Comparator<MediaType> MEDIA_TYPE_COMPARATOR
Compare two mimetypes. The main rule for sorting media types is :

  • type / subtype
  • type / *
  • * / *
  • Constructor Detail

    MediaTypeHelper

    public MediaTypeHelper()


    Copyright © 2012 eXo Platform SAS. All Rights Reserved.