public class URLStreams extends Object
Type Params | Return Type | Name and description |
---|---|---|
|
public static InputStream |
openUncachedStream(URL url) Opens an InputStream reading from the given URL without caching the stream. |
Opens an InputStream reading from the given URL without caching the stream. This prevents file descriptor leaks when reading from file system URLs.
url
- the URL to connect to