cn.dreampie.common.util
类 HttpTyper

java.lang.Object
  继承者 cn.dreampie.common.util.HttpTyper

public class HttpTyper
extends Object

Created by ice on 14-12-29.


构造方法摘要
HttpTyper()
           
 
方法摘要
static String charsetFromContentType(String s)
           
static String getContentTypeFromExtension(String filename)
           
static String headerTokenCompatible(String s, String specialCharsReplacement)
           
static boolean isTextContentType(String contentType)
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

HttpTyper

public HttpTyper()
方法详细信息

getContentTypeFromExtension

public static String getContentTypeFromExtension(String filename)

isTextContentType

public static boolean isTextContentType(String contentType)

charsetFromContentType

public static String charsetFromContentType(String s)

headerTokenCompatible

public static String headerTokenCompatible(String s,
                                           String specialCharsReplacement)


Copyright © 2015. All rights reserved.