FSF GCC merge 02/23/03
[official-gcc.git] / libjava / gnu / gcj / protocol / jar / Handler.java
blob2bb6aaebf854923005bd757021e0835b14d370e9
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
9 details. */
11 package gnu.gcj.protocol.jar;
13 import java.net.URL;
14 import java.net.URLConnection;
15 import java.net.URLStreamHandler;
16 import java.io.IOException;
18 /**
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);