Package org.codehaus.groovy.util
Class URLStreams
java.lang.Object
org.codehaus.groovy.util.URLStreams
- 
Method Summary
Modifier and TypeMethodDescriptionstatic InputStreamopenUncachedStream(URL url) Opens anInputStreamreading from the given URL without caching the stream. 
- 
Method Details
- 
openUncachedStream
Opens anInputStreamreading from the given URL without caching the stream. This prevents file descriptor leaks when reading from file system URLs.- Parameters:
 url- the URL to connect to- Returns:
 - an input stream reading from the URL connection
 - Throws:
 IOException
 
 -