|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjp.cssj.cti2.helpers.MimeTypeHelper
public final class MimeTypeHelper
MIME方を解析する補助クラスです。
Method Summary | |
---|---|
static boolean |
equals(String type1,
String type2)
2つのMIMEタイプがパラメータを除いて同じがどうかを判別します。 |
static String |
getParameter(String type,
String name)
Content-Typeヘッダパラメータの値を返します。 |
static String |
getTypePart(String type)
パラメータを除いた部分を返します。 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static boolean equals(String type1, String type2)
type1
- MIME型1。type2
- MIME型2。
public static String getTypePart(String type)
type
- MIME型。
public static String getParameter(String type, String name)
type
- Content-Typeヘッダ値。name
- パラメータ名。
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |