public class BioUnitDataProviderFactory extends Object
getBioUnitDataProvider()
.Modifier and Type | Field and Description |
---|---|
static Class<? extends BioUnitDataProvider> |
DEFAULT_PROVIDER_CLASS |
static String |
DEFAULT_PROVIDER_CLASSNAME |
static String |
mmcifProviderClassName |
static String |
pdbProviderClassName |
static String |
remoteProviderClassName |
Modifier and Type | Method and Description |
---|---|
static BioUnitDataProvider |
getBioUnitDataProvider() |
static Class<? extends BioUnitDataProvider> |
getBioUnitDataProviderClass()
Get the class of providers to be instantiated.
|
static void |
setBioUnitDataProvider(Class<? extends BioUnitDataProvider> klass)
Set the type of provider to be created
|
static void |
setBioUnitDataProvider(String className)
Sets the data provider to the specified class name.
|
public static final String mmcifProviderClassName
public static final String remoteProviderClassName
public static final String pdbProviderClassName
public static Class<? extends BioUnitDataProvider> DEFAULT_PROVIDER_CLASS
public static final String DEFAULT_PROVIDER_CLASSNAME
public static BioUnitDataProvider getBioUnitDataProvider()
public static void setBioUnitDataProvider(Class<? extends BioUnitDataProvider> klass)
klass
- A BioUnitDataProviderpublic static void setBioUnitDataProvider(String className) throws ClassNotFoundException, ClassCastException
setBioUnitDataProvider(Class)
for better type safety.className
- A class implementing BioUnitDataProviderClassNotFoundException
- If the class cannot be loadedClassCastException
- If the class does not extend BioUnitDataProviderpublic static Class<? extends BioUnitDataProvider> getBioUnitDataProviderClass()
Copyright © 2000–2016 BioJava. All rights reserved.