public class URLStreams
extends Object
Utilities for opening URL streams with Groovy-specific defaults.
| 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