30 lines
664 B
Java
30 lines
664 B
Java
![]() |
// 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. */
|
||
|
|
||
|
package gnu.gcj.protocol.core;
|
||
|
|
||
|
import java.net.URL;
|
||
|
import java.net.URLConnection;
|
||
|
import java.net.URLStreamHandler;
|
||
|
import java.io.IOException;
|
||
|
|
||
|
/**
|
||
|
* @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);
|
||
|
}
|
||
|
}
|