org.apache.commons.vfs.provider
Class DefaultURLStreamHandler
java.lang.Object
java.net.URLStreamHandler
org.apache.commons.vfs.provider.DefaultURLStreamHandler
public class DefaultURLStreamHandler
- extends URLStreamHandler
A default URL stream handler that will work for most file systems.
- Version:
- $Revision: 764356 $ $Date: 2009-04-13 06:06:01 +0200(lun, 13 apr 2009) $
- Author:
- Brian Olsen
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultURLStreamHandler
public DefaultURLStreamHandler(VfsComponentContext context)
DefaultURLStreamHandler
public DefaultURLStreamHandler(VfsComponentContext context,
FileSystemOptions fileSystemOptions)
openConnection
protected URLConnection openConnection(URL url)
throws IOException
- Specified by:
openConnection
in class URLStreamHandler
- Throws:
IOException
parseURL
protected void parseURL(URL u,
String spec,
int start,
int limit)
- Overrides:
parseURL
in class URLStreamHandler
toExternalForm
protected String toExternalForm(URL u)
- Overrides:
toExternalForm
in class URLStreamHandler
Copyright © 2002-2011 Apache Software Foundation. All Rights Reserved.