Changeset 7029 in josm for trunk/src/org/openstreetmap/josm/tools
- Timestamp:
- 2014-04-29T16:38:07+02:00 (11 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/AudioUtil.java
r7025 r7029 4 4 import java.io.File; 5 5 import java.io.IOException; 6 import java.net.MalformedURLException;7 6 import java.net.URL; 8 7 -
trunk/src/org/openstreetmap/josm/tools/OpenBrowser.java
r7026 r7029 6 6 import java.awt.Desktop; 7 7 import java.io.IOException; 8 import java.net.MalformedURLException;9 8 import java.net.URI; 10 9 … … 23 22 // Hide default constructor for utils classes 24 23 } 25 24 26 25 private static void displayUrlFallback(URI uri) throws IOException { 27 26 if (Main.platform == null) … … 31 30 32 31 /** 33 * Displays an external URI using platform associated software. 34 * A web resource will launch platform's browser, an audio file URI will launch audio player, etc. 32 * Displays an external URI using platform associated software. 33 * A web resource will launch platform's browser, an audio file URI will launch audio player, etc. 35 34 * @param uri The URI to display 36 35 * @return <code>null</code> for success or a string in case of an error. … … 78 77 79 78 /** 80 * Displays an external URL using platform associated software. 81 * A web resource will launch platform's browser, an audio file URL will launch audio player, etc. 79 * Displays an external URL using platform associated software. 80 * A web resource will launch platform's browser, an audio file URL will launch audio player, etc. 82 81 * @param url The URL to display 83 82 * @return <code>null</code> for success or a string in case of an error.
Note:
See TracChangeset
for help on using the changeset viewer.