2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / libjava / gnu / java / net / protocol / gcjlib / Handler.java
blob60f5bcc25187b7917b38156b1b64273d05a398c3
1 // Handler.java - URLStreamHandler for gcjlib protocol.
3 /* Copyright (C) 2003 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
9 details. */
11 package gnu.java.net.protocol.gcjlib;
13 import java.io.IOException;
14 import java.net.URL;
15 import java.net.URLConnection;
16 import java.net.URLStreamHandler;
18 public class Handler extends URLStreamHandler
20 protected URLConnection openConnection (URL url) throws IOException
22 return new Connection (url);