1 // Handler.java - URLStreamHandler for file protocol.
3 /* Copyright (C) 1999 Free Software Foundation
5 This file is part of libgcj.
7 This software is copyrighted work licensed under the terms of the
8 Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
11 package gnu
.gcj
.protocol
.jar
;
14 import java
.net
.URLConnection
;
15 import java
.net
.URLStreamHandler
;
16 import java
.io
.IOException
;
19 * @author Kresten Krab Thorup <krab@gnu.org>
20 * @date August 13, 1999.
23 public class Handler
extends URLStreamHandler
25 protected URLConnection
openConnection(URL url
) throws IOException
27 return new Connection(url
);