5 * nicobrowser.util.Utilより, 必要なものをピックアップしたクラス.
11 * Content-Type から拡張子を決定する.
12 * @param contentType Content-Type文字列.
15 public static String getExtention(String contentType) {
16 if ("video/flv".equals(contentType) || "video/x-flv".equals(contentType)) {
18 } else if ("video/mp4".equals(contentType)) {
20 } else if ("application/x-shockwave-flash".equals(contentType)) {
23 return contentType.split("/")[1];