public static boolean isLinux() {
return System.getProperty("os.name").toLowerCase().indexOf("linux") >= 0;
}
public static boolean isWindows() {
return System.getProperty("os.name").toLowerCase().indexOf("windows") >= 0;
}
07-10
2339
06-24
1032