hep.io.root.daemon
Class RootURLStreamFactory

java.lang.Object
  extended by hep.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

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


Copyright © 2000-2013 FreeHEP. All Rights Reserved.