FreeHEP API
Version current

hep.io.root.daemon
Class RootURLStreamFactory

java.lang.Object
  extended byhep.io.root.daemon.RootURLStreamFactory
All Implemented Interfaces:
URLStreamHandlerFactory

public class RootURLStreamFactory
extends Object
implements URLStreamHandlerFactory

A URLStreamHandlerFactory for registering the root: protocol

Usage:

    URL.setURLStreamHandlerFactory(new RootURLStreamFactory());
      URL url = new URL("root://root.cern.ch/demo.root");
 

Author:
Tony Johnson
Source Code:
RootURLStreamFactory.java

Constructor Summary
RootURLStreamFactory()
           
 
Method Summary
 URLStreamHandler createURLStreamHandler(String protocol)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RootURLStreamFactory

public RootURLStreamFactory()
Method Detail

createURLStreamHandler

public URLStreamHandler createURLStreamHandler(String protocol)
Specified by:
createURLStreamHandler in interface URLStreamHandlerFactory

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.