1 // Handler.java - URLStreamHandler for core protocol.
3 /* Copyright (C) 2001 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
.java
.net
.protocol
.core
;
13 import java
.io
.IOException
;
15 import java
.net
.URLConnection
;
16 import java
.net
.URLStreamHandler
;
19 * @author Anthony Green <green@redhat.com>
20 * @date August 13, 2001.
22 public class Handler
extends URLStreamHandler
24 protected URLConnection
openConnection(URL url
) throws IOException
26 return new Connection(url
);