hep.rootio
Class RootFileReader
- java.lang.Object
-
- hep.rootio.RootFileReader
-
- All Implemented Interfaces:
- RootObject, TDirectory, TFile, TNamed, TObject
public class RootFileReader extends java.lang.Object implements TFile
-
-
Field Summary
-
Fields inherited from interface hep.rootio.interfaces.TNamed
rootIOVersion
-
-
Constructor Summary
Constructors Constructor and Description RootFileReader(java.io.File file)RootFileReader(java.io.File file, RootClassFactory factory)RootFileReader(java.lang.String file)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidclose()java.lang.Objectget(java.lang.String name)java.lang.ClassLoadergetClassLoader()RootClassFactorygetFactory()TKeygetKey(int index)TKeygetKey(java.lang.String name)TKeygetKeyForTitle(java.lang.String name)java.lang.StringgetName()java.lang.StringgetTitle()java.lang.ObjectgetValue(java.lang.String member)intnKeys()RootClassrootClass()voidsetClassLoader(java.lang.ClassLoader loader)java.util.ListstreamerInfo()TKeystreamerInfoKey()
-
-
-
Constructor Detail
-
RootFileReader
public RootFileReader(java.lang.String file) throws java.io.IOException- Throws:
java.io.IOException
-
RootFileReader
public RootFileReader(java.io.File file) throws java.io.IOException- Throws:
java.io.IOException
-
RootFileReader
public RootFileReader(java.io.File file, RootClassFactory factory) throws java.io.IOException- Throws:
java.io.IOException
-
-
Method Detail
-
close
public void close() throws java.io.IOException
-
getFactory
public RootClassFactory getFactory()
-
nKeys
public int nKeys()
- Specified by:
nKeysin interfaceTDirectory
-
getKey
public TKey getKey(int index)
- Specified by:
getKeyin interfaceTDirectory
-
getKeyForTitle
public TKey getKeyForTitle(java.lang.String name)
- Specified by:
getKeyForTitlein interfaceTDirectory
-
getKey
public TKey getKey(java.lang.String name)
- Specified by:
getKeyin interfaceTDirectory
-
streamerInfoKey
public TKey streamerInfoKey()
- Specified by:
streamerInfoKeyin interfaceTFile
-
rootClass
public RootClass rootClass()
- Specified by:
rootClassin interfaceRootObject
-
getValue
public java.lang.Object getValue(java.lang.String member)
- Specified by:
getValuein interfaceRootObject
-
streamerInfo
public java.util.List streamerInfo() throws java.io.IOException- Specified by:
streamerInfoin interfaceTFile- Throws:
java.io.IOException
-
get
public java.lang.Object get(java.lang.String name) throws java.io.IOException- Throws:
java.io.IOException
-
setClassLoader
public void setClassLoader(java.lang.ClassLoader loader)
-
getClassLoader
public java.lang.ClassLoader getClassLoader()
-
-
DataMelt 3.0 © DataMelt by jWork.ORG