Changeset 9720 in josm for trunk/src/org/openstreetmap/josm/io
- Timestamp:
- 2016-02-03T00:53:09+01:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/Compression.java
r9170 r9720 8 8 import java.io.InputStream; 9 9 import java.io.OutputStream; 10 import java.net.URL;11 10 import java.nio.charset.StandardCharsets; 12 11 import java.util.zip.GZIPOutputStream; … … 103 102 104 103 /** 105 * Returns an un-compressing {@link InputStream} for the {@link URL} {@code url}.106 * @param url URL107 * @return un-compressing input stream108 *109 * @throws IOException if any I/O error occurs110 * @deprecated Use {@link org.openstreetmap.josm.tools.HttpClient} instead111 */112 @Deprecated113 public static InputStream getUncompressedURLInputStream(URL url) throws IOException {114 return Utils.openURLAndDecompress(url, true);115 }116 117 /**118 104 * Returns a compressing {@link OutputStream} for {@code out}. 119 105 * @param out raw output stream
Note:
See TracChangeset
for help on using the changeset viewer.
