hep.io.root.daemon.xrootd
Class XrootdInputStream
java.lang.Object
java.io.InputStream
hep.io.root.daemon.DaemonInputStream
hep.io.root.daemon.xrootd.XrootdInputStream
- All Implemented Interfaces:
- Closeable
public class XrootdInputStream
- extends DaemonInputStream
- Author:
- tonyj
XrootdInputStream
public XrootdInputStream(XrootdURLConnection conn)
throws IOException
- Throws:
IOException
read
public int read()
throws IOException
- Specified by:
read
in class InputStream
- Throws:
IOException
close
public void close()
throws IOException
- Specified by:
close
in interface Closeable
- Overrides:
close
in class InputStream
- Throws:
IOException
read
public int read(byte[] values,
int offset,
int size)
throws IOException
- Overrides:
read
in class InputStream
- Throws:
IOException
skip
public long skip(long skip)
throws IOException
- Overrides:
skip
in class InputStream
- Throws:
IOException
setPosition
public void setPosition(long pos)
- Description copied from class:
DaemonInputStream
- Set the current file position
- Overrides:
setPosition
in class DaemonInputStream
available
public int available()
throws IOException
- Overrides:
available
in class InputStream
- Throws:
IOException
getPosition
public long getPosition()
- Description copied from class:
DaemonInputStream
- Get the current file position
- Overrides:
getPosition
in class DaemonInputStream
finalize
protected void finalize()
throws Throwable
- Overrides:
finalize
in class Object
- Throws:
Throwable
Copyright © 2000-2013 FreeHEP. All Rights Reserved.