com.bradmcevoy.common
Class ContentTypeUtils

java.lang.Object
  extended by com.bradmcevoy.common.ContentTypeUtils

public class ContentTypeUtils
extends java.lang.Object

Author:
brad

Constructor Summary
ContentTypeUtils()
           
 
Method Summary
static java.lang.String findAcceptableContentType(java.lang.String mime, java.lang.String preferredList)
           
static java.lang.String findContentTypes(java.io.File file)
           
static java.lang.String findContentTypes(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContentTypeUtils

public ContentTypeUtils()
Method Detail

findContentTypes

public static java.lang.String findContentTypes(java.lang.String name)

findContentTypes

public static java.lang.String findContentTypes(java.io.File file)

findAcceptableContentType

public static java.lang.String findAcceptableContentType(java.lang.String mime,
                                                         java.lang.String preferredList)


Copyright © 2011. All Rights Reserved.