org.apache.commons.configuration
Class FileURLStreamHandler
java.lang.Object
java.net.URLStreamHandler
org.apache.commons.configuration.FileURLStreamHandler
public class FileURLStreamHandler
- extends URLStreamHandler
A custom URLStreamHandler to test loading and saving configurations to non
standard URLs. This handler acts like a file handler with write support.
- Version:
- $Id: FileURLStreamHandler.java 1222450 2011-12-22 21:01:33Z oheger $
- Author:
- Emmanuel Bourg
Methods inherited from class java.net.URLStreamHandler |
equals, getDefaultPort, getHostAddress, hashCode, hostsEqual, openConnection, parseURL, sameFile, setURL, setURL, toExternalForm |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileURLStreamHandler
public FileURLStreamHandler()
openConnection
protected URLConnection openConnection(URL u)
throws IOException
- Specified by:
openConnection
in class URLStreamHandler
- Throws:
IOException
Copyright © 2001-2012 The Apache Software Foundation. All Rights Reserved.