FreeHEP API
Version current

hep.io.root.daemon
Class RootStreamHandler

java.lang.Object
  extended byjava.net.URLStreamHandler
      extended byhep.io.root.daemon.RootStreamHandler

public class RootStreamHandler
extends URLStreamHandler

A stream handler for files opened with the root protocol. This stream handler will be created automatically if RootURLStreamFactory is used, or this can be created and passed as an argument to the URL constructor.

Author:
Tony Johnson
Source Code:
RootStreamHandler.java

Constructor Summary
RootStreamHandler()
           
 
Method Summary
protected  int getDefaultPort()
           
protected  URLConnection openConnection(URL uRL)
           
 
Methods inherited from class java.net.URLStreamHandler
equals, getHostAddress, hashCode, hostsEqual, parseURL, sameFile, setURL, setURL, toExternalForm
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RootStreamHandler

public RootStreamHandler()
Method Detail

openConnection

protected URLConnection openConnection(URL uRL)
                                throws IOException
Throws:
IOException

getDefaultPort

protected int getDefaultPort()

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.