org.apache.geronimo.system.url.file
Class Handler
java.lang.Object
java.net.URLStreamHandler
org.apache.geronimo.system.url.file.Handler
- public class Handler
- extends URLStreamHandler
A protocol handler for the 'file' protocol.
- Version:
- $Revision: 1.3 $ $Date: 2004/06/25 20:48:53 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Handler
public Handler()
parseURL
protected void parseURL(URL url,
String s,
int i,
int j)
openConnection
public URLConnection openConnection(URL url)
throws IOException
- Open a connection to the file.
NOTE: Sun's impl attempts to translate into a 'ftp' URL which is dumb
so fix that by removing it ;-)
- Throws:
IOException
Copyright © 2003-2005 Apache Software Foundation. All Rights Reserved.