Frames | No Frames |
1: // Handler.java - URLStreamHandler for core protocol. 2: 3: /* Copyright (C) 2001 Free Software Foundation 4: 5: This file is part of libgcj. 6: 7: This software is copyrighted work licensed under the terms of the 8: Libgcj License. Please consult the file "LIBGCJ_LICENSE" for 9: details. */ 10: 11: package gnu.java.net.protocol.core; 12: 13: import java.io.IOException; 14: import java.net.URL; 15: import java.net.URLConnection; 16: import java.net.URLStreamHandler; 17: 18: /** 19: * @author Anthony Green <green@redhat.com> 20: * @date August 13, 2001. 21: */ 22: public class Handler extends URLStreamHandler 23: { 24: protected URLConnection openConnection(URL url) throws IOException 25: { 26: return new Connection(url); 27: } 28: }