summaryrefslogtreecommitdiff
path: root/libjava/gnu/java/net/protocol/gcjlib/Handler.java
blob: 60f5bcc25187b7917b38156b1b64273d05a398c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Handler.java - URLStreamHandler for gcjlib protocol.

/* Copyright (C) 2003  Free Software Foundation

   This file is part of libgcj.

This software is copyrighted work licensed under the terms of the
Libgcj License.  Please consult the file "LIBGCJ_LICENSE" for
details.  */

package gnu.java.net.protocol.gcjlib;

import java.io.IOException;
import java.net.URL;
import java.net.URLConnection;
import java.net.URLStreamHandler;

public class Handler extends URLStreamHandler
{
  protected URLConnection openConnection (URL url) throws IOException
  {
    return new Connection (url);
  }
}