FreeHEP API
Version current

hep.io.root.daemon
Class DaemonInputStream

java.lang.Object
  extended byjava.io.InputStream
      extended byhep.io.root.daemon.DaemonInputStream

public abstract class DaemonInputStream
extends InputStream

Adds limited random access to InputStream. This class is returned from RootURLConnection.getInputStream().

Author:
Tony Johnson
Source Code:
DaemonInputStream.java

Field Summary
protected  long position
           
 
Constructor Summary
DaemonInputStream()
           
 
Method Summary
 long getPosition()
          Get the current file position
 void setPosition(long pos)
          Set the current file position
 
Methods inherited from class java.io.InputStream
available, close, mark, markSupported, read, read, read, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

position

protected long position
Constructor Detail

DaemonInputStream

public DaemonInputStream()
Method Detail

getPosition

public long getPosition()
Get the current file position


setPosition

public void setPosition(long pos)
Set the current file position


FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.