public class URLStreamManager extends Object
JarURLConnection,
that keeps the lock of the jar file despite of we call urlInputStream.close().| Constructor and Description |
|---|
URLStreamManager(URL url)
Creates a stream manager for a given URL.
|
| Modifier and Type | Method and Description |
|---|---|
static ByteArrayInputStream |
bufferedRead(URL url)
Reads and stores a resource into memory
|
void |
close()
Closes the underlying input stream
|
InputStream |
open()
Opens the URL's stream
|
public URLStreamManager(URL url)
url - public InputStream open()
IOExceptionpublic static ByteArrayInputStream bufferedRead(URL url)
public void close()
IOExceptionCopyright © 2016. All rights reserved.