1 32 33 package com.hp.hpl.jena.shared.wg; 34 35 36 import java.io.*; 37 import java.net.*; 38 39 46 class LazyURLInputStream extends LazyInputStream { 47 48 private URL url; 49 50 LazyURLInputStream(URL url) { 51 this.url = url; 53 } 54 55 InputStream open() throws IOException { 56 URLConnection conn = url.openConnection(); 57 59 return conn.getInputStream(); 60 } 61 62 63 64 } 65 | Popular Tags |