Changeset 10186 for trunk/gsdl3/src
- Timestamp:
- 2005-06-28T11:01:37+12:00 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl3/src/java/org/greenstone/gsdl3/util/Misc.java
r10169 r10186 1 /*1 /* 2 2 * Misc.java 3 3 * Copyright (C) 2002 New Zealand Digital Library, http://www.nzdl.org … … 71 71 } 72 72 73 public static boolean isMac() { 74 Properties props = System.getProperties(); 75 String os_name = props.getProperty("os.name",""); 76 if(os_name.startsWith("Mac OS")) { 77 return true; 78 } 79 return false; 80 } 81 73 82 public static BufferedReader makeHttpConnection(String url_string) 74 83 throws java.net.MalformedURLException, java.io.IOException {
Note:
See TracChangeset
for help on using the changeset viewer.