public FsUrlStreamHandlerFactory(Configuration conf)
 {
     // The configuration holds supported FS implementation class names.
     // This map stores whether a protocol is know or not by FileSystem
     // The URL Stream handler
     this.conf = new Configuration(conf);
     // force init of FileSystem code to avoid HADOOP-9041
     try
     {
         FileSystem.GetFileSystemClass("file", conf);
     }
     catch (IOException io)
     {
         throw new RuntimeException(io);
     }
     this.handler = new FsUrlStreamHandler(this.conf);
 }
示例#2
0
 public URL(global::java.lang.String prm1, global::java.lang.String prm2, int prm3, global::java.lang.String prm4, URLStreamHandler prm5)
 {
 }
示例#3
0
 public URL(URL prm1, global::java.lang.String prm2, URLStreamHandler prm3)
 {
 }