public class DefaultURLStreamHandler extends URLStreamHandler
Constructor and Description |
---|
DefaultURLStreamHandler(VfsComponentContext context)
Constructs a new instance.
|
DefaultURLStreamHandler(VfsComponentContext context,
FileSystemOptions fileSystemOptions)
Constructs a new instance.
|
Modifier and Type | Method and Description |
---|---|
protected URLConnection |
openConnection(URL url) |
protected void |
parseURL(URL u,
String spec,
int start,
int limit) |
protected String |
toExternalForm(URL u) |
equals, getDefaultPort, getHostAddress, hashCode, hostsEqual, openConnection, sameFile, setURL, setURL
public DefaultURLStreamHandler(VfsComponentContext context)
context
- VFS component context.public DefaultURLStreamHandler(VfsComponentContext context, FileSystemOptions fileSystemOptions)
context
- VFS component context.fileSystemOptions
- FileSystemOptions to resolve files.protected URLConnection openConnection(URL url) throws IOException
openConnection
in class URLStreamHandler
IOException
protected void parseURL(URL u, String spec, int start, int limit)
parseURL
in class URLStreamHandler
protected String toExternalForm(URL u)
toExternalForm
in class URLStreamHandler
Copyright © 2002–2025 The Apache Software Foundation. All rights reserved.