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, setURLpublic 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 URLStreamHandlerIOExceptionprotected void parseURL(URL u, String spec, int start, int limit)
parseURL in class URLStreamHandlerprotected String toExternalForm(URL u)
toExternalForm in class URLStreamHandlerCopyright © 2002–2025 The Apache Software Foundation. All rights reserved.