Changeset 10899 for trunk/gsdl3/src/java/org/greenstone
- Timestamp:
- 2005-11-15T16:25:12+13:00 (19 years ago)
- Location:
- trunk/gsdl3/src/java/org/greenstone/gsdl3/util
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl3/src/java/org/greenstone/gsdl3/util/GSFile.java
r10650 r10899 292 292 293 293 String db_ext = ".ldb"; 294 if (Misc.is Mac()) {294 if (Misc.isBigEndian()) { 295 295 db_ext = ".bdb"; 296 296 } -
trunk/gsdl3/src/java/org/greenstone/gsdl3/util/Misc.java
r10188 r10899 70 70 return false; 71 71 } 72 public static boolean isBigEndian() { 73 74 System.err.println(System.getProperty("sun.cpu.endian")); 75 if (System.getProperty("sun.cpu.endian").equals("big")) { 76 return true; 77 } 78 return false; 79 80 } 72 81 73 82 public static BufferedReader makeHttpConnection(String url_string) … … 81 90 } 82 91 92 public static void main(String [] args) { 93 isBigEndian(); 94 } 95 83 96 } 84 97
Note:
See TracChangeset
for help on using the changeset viewer.