Source for gnu.java.net.protocol.gcjlib.Handler

   1: // Handler.java - URLStreamHandler for gcjlib protocol.
   2: 
   3: /* Copyright (C) 2003  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.gcjlib;
  12: 
  13: import java.io.IOException;
  14: import java.net.URL;
  15: import java.net.URLConnection;
  16: import java.net.URLStreamHandler;
  17: 
  18: public class Handler extends URLStreamHandler
  19: {
  20:   protected URLConnection openConnection (URL url) throws IOException
  21:   {
  22:     return new Connection (url);
  23:   }
  24: }