Handler.java 668 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10
// Handler.java - URLStreamHandler for core protocol.

/* Copyright (C) 2001  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.  */

11
package gnu.java.net.protocol.core;
12

13
import java.io.IOException;
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
import java.net.URL;
import java.net.URLConnection;
import java.net.URLStreamHandler;

/**
 * @author Anthony Green <green@redhat.com>
 * @date August 13, 2001.
 */
public class Handler extends URLStreamHandler
{
  protected URLConnection openConnection(URL url) throws IOException
  {
    return new Connection(url);
  }
}