public class AggregatingResourceLoader.AggregatingURLStreamHandler extends URLStreamHandler
Constructor and Description |
---|
AggregatingResourceLoader.AggregatingURLStreamHandler(URL[] urls)
Constructs and AggregatingURLStreamHandler from an array of URLs containing other data.
|
AggregatingResourceLoader.AggregatingURLStreamHandler(URL[] urls,
String separator)
Constructs and AggregatingURLStreamHandler from an array of URLs containing other data.
|
Modifier and Type | Method and Description |
---|---|
protected URLConnection |
openConnection(URL u)
Opens a connection containing all of the data from the provided urls.
|
equals, getDefaultPort, getHostAddress, hashCode, hostsEqual, openConnection, parseURL, sameFile, setURL, setURL, toExternalForm
public AggregatingResourceLoader.AggregatingURLStreamHandler(URL[] urls)
urls
- the urlspublic AggregatingResourceLoader.AggregatingURLStreamHandler(URL[] urls, String separator)
urls
- the urlsseparator
- a String containing a separator. This will typically be an newline character
or null.protected URLConnection openConnection(URL u) throws IOException
openConnection
in class URLStreamHandler
u
- the parent URL objectIOException
- when something bad happensCopyright © 2001-2017 The Apache Software Foundation. All Rights Reserved.