hep.io.root.daemon
Class RootURLStreamFactory
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RootURLStreamFactory
public RootURLStreamFactory()
createURLStreamHandler
public URLStreamHandler createURLStreamHandler(String protocol)
- Specified by:
createURLStreamHandler
in interface URLStreamHandlerFactory
Copyright © 2000-2013 FreeHEP. All Rights Reserved.