static UserInfo ui = new UserInfo();
public static String getExtention(String contentType) {
+ if(!contentType.contains("/")){
+ logger.error("content type is not defined");
+ return "txt";
+ }
+
if ("video/flv".equals(contentType) || "video/x-flv".equals(contentType)) {
return "flv";
} else if ("video/mp4".equals(contentType)) {