code: private String getMime(String name, String delimiter) {
  		if (StringUtils.hasText(name)) {
  			return name.substring(name.lastIndexOf(delimiter), name.length());
  		}
  		return null;
  	}
docs: Method get the mime value from the given file name
  @param name the filename
  @param delimiter the delimiter
  @return String the mime value