public static boolean isLinux() {
return System.getProperty("os.name").toLowerCase().contains("linux");
}
public static boolean isWindows() {
return System.getProperty("os.name").toLowerCase().contains("windows");
}
uploadSealFile_LinuxPath=/home/file/sealFile
uploadSealFile_WindowsPath=E:/home/file/sealFile
if(AppCommonUtils.isLinux()){
realFilePath = properties.getProperty("uploadSealFile_LinuxPath") + "/" + realFileName;
}else if(AppCommonUtils.isWindows()){
realFilePath = properties.getProperty("uploadSealFile_WindowsPath") + "/" + realFileName;
}