public abstract class DSPFactory extends Object
| Constructor and Description |
|---|
DSPFactory() |
| Modifier and Type | Method and Description |
|---|---|
static DSP |
create(String path) |
static boolean |
dspRegistered(Class klass)
See if a specific DSP is registered
|
static void |
dspUnregister(Class klass)
Unregister dsp.
|
static void |
registerDSP(Class klass)
Register a DSP class.
|
static void |
registerDSP(Class klass,
boolean last)
Register a DSP class.
|
static void |
registerDSP(String className)
Register a DSP, using its class string name.
|
public static void registerDSP(String className) throws DapException
className - Class that implements DSP.IllegalAccessException - if class is not accessible.InstantiationException - if class doesnt have a no-arg constructor.ClassNotFoundException - if class not found.DapExceptionpublic static void registerDSP(Class klass)
klass - Class that implements DSP.IllegalAccessException - if class is not accessible.InstantiationException - if class doesnt have a no-arg constructor.ClassCastException - if class doesnt implement DSP interface.public static void registerDSP(Class klass, boolean last)
klass - Class that implements DSP.last - true=>insert at the end of the list; otherwise frontIllegalAccessException - if class is not accessible.InstantiationException - if class doesnt have a no-arg constructor.ClassCastException - if class doesnt implement DSP interface.public static boolean dspRegistered(Class klass)
klass - Class for which to searchpublic static void dspUnregister(Class klass)
klass - Class for which to searchpublic static DSP create(String path) throws DapException
path - DapExceptionCopyright © 1999–2014 UCAR/Unidata. All rights reserved.