FreeHEP API
Version v1.2.2

hep.io.root.core
Class FileClassFactory

java.lang.Object
  |
  +--hep.io.root.core.FileClassFactory
All Implemented Interfaces:
RootClassFactory

public class FileClassFactory
extends Object
implements RootClassFactory

A class factory used inside a RootFileReader. It first attempts to resolve classes using the StreamerInfo from the file itself, and if that fails delelgates to a default class factory.

Version:
$Id: FileClassFactory.java,v 1.2 2003/04/24 19:36:19 tonyj Exp $
Author:
tonyj

Constructor Summary
FileClassFactory(TKey streamerInfo, RootClassFactory defaultClassFactory, RootFileReader rfr)
           
 
Method Summary
 BasicRootClass create(String name)
           
 RootClassLoader getLoader()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileClassFactory

public FileClassFactory(TKey streamerInfo,
                        RootClassFactory defaultClassFactory,
                        RootFileReader rfr)
                 throws RootClassNotFound,
                        IOException
Method Detail

getLoader

public RootClassLoader getLoader()
Specified by:
getLoader in interface RootClassFactory

create

public BasicRootClass create(String name)
                      throws RootClassNotFound
Specified by:
create in interface RootClassFactory
RootClassNotFound

FreeHEP API
Version v1.2.2

Copyright © 2000-2003 FreeHEP, All Rights Reserved.