FreeHEP API
Version current

hep.io.root.core
Class FileClassFactory

java.lang.Object
  extended byhep.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.3 2005/08/10 00:56:30 tonyj Exp $
Author:
tonyj
Source Code:
FileClassFactory.java

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
Throws:
RootClassNotFound

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.