- Timestamp:
- 2006-11-02T11:32:20+13:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl3/src/java/org/greenstone/gsdl3/util/Misc.java
r10900 r13207 59 59 } 60 60 61 public static boolean isWindows9x() { 62 Properties props = System.getProperties(); 63 String os_name = props.getProperty("os.name",""); 64 if(os_name.startsWith("Windows") && os_name.indexOf("9") != -1) { 65 return true; 66 } 67 return false; 68 } 69 61 70 /** Method to determine if the host system is MacOS based. 62 71 * @return a boolean which is true if the platform is MacOS, false otherwise … … 70 79 return false; 71 80 } 81 72 82 public static boolean isBigEndian() { 73 83
Note:
See TracChangeset
for help on using the changeset viewer.