hep.io.root.daemon
Class RootStreamHandler

java.lang.Object
  extended by java.net.URLStreamHandler
      extended by hep.io.root.daemon.RootStreamHandler
Direct Known Subclasses:
XrootdStreamHandler

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

Constructor Summary
RootStreamHandler()
           
 
Method Summary
protected  int getDefaultPort()
           
protected  URLConnection openConnection(URL uRL)
           
 
Methods inherited from class java.net.URLStreamHandler
equals, getHostAddress, hashCode, hostsEqual, openConnection, 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
Specified by:
openConnection in class URLStreamHandler
Throws:
IOException

getDefaultPort

protected int getDefaultPort()
Overrides:
getDefaultPort in class URLStreamHandler


Copyright © 2000-2013 FreeHEP. All Rights Reserved.