public static String getFileNameByFilePathJudgeSuffix(String filePath,boolean flag){
		String name = null;
		if(null != filePath && filePath.length() > 0){
			String temp[] = filePath.replaceAll("\\\\","/").split("/");  
			if (temp.length >= 1) {   
				name = temp[temp.length - 1];   
			}
		}
		if(null != name && name.length() > 0){
			if(!flag){
				//不包含后缀
				if(name.indexOf(".") != -1){
					name = name.substring(0, name.lastIndexOf("."));
				}
			}
		}
		return name;
	}