import java.net.*; import java.io.*; public class daytimeURLStreamHandler extends URLStreamHandler { protected URLConnection openConnection(URL u) throws IOException { return new daytimeURLConnection(u); } }