java.lang.Object
org.bzdev.obnaming.ObjectNamerLauncher
org.bzdev.devqsim.SimulationLauncher
org.bzdev.anim2d.Animation2DLauncher
- All Implemented Interfaces:
AutoCloseable
Launcher for 2D animations.
Normally this class is not used directly, but instead is loaded
by using an SPI.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor.Animation2DLauncher
(JSObject initializer) Constructor with additional class data. -
Method Summary
Modifier and TypeMethodDescriptionstatic InputStream
Get an input stream containing a YAML file describing the classes this launcher provides.Methods inherited from class org.bzdev.obnaming.ObjectNamerLauncher
clear, close, combine, createAPIMap, currentLauncher, exists, findRVFMethod, get, getArgumentClasses, getConstants, getConstructors, getFunctions, getLauncherDataNames, getLauncherNames, getMethods, getProviderKeyMap, getReturnClasses, keylistForArgumentClasses, keylistForConstants, keylistForConstructors, keylistForFunctions, keylistForMethods, keylistForMethods, keylistForReturnClasses, loadFromStream, newInstance, newInstance, process, process, process, process, process, remove, resetLoaders, set, variables
-
Constructor Details
-
Animation2DLauncher
public Animation2DLauncher(JSObject initializer) throws ClassNotFoundException, IOException, IllegalAccessException Constructor with additional class data. The initializer is a JSObject obtained by parsing a YAML file or by combining the results of parsing YAML files.- Parameters:
initializer
- an object describing the additional configuration; null if there is nothing else to configure- Throws:
ClassNotFoundException
- - if a needed class does not existIOException
- - if an IO error occurredIllegalAccessException
- - if this method cannot access a class, field, method, or constructor- See Also:
-
Animation2DLauncher
Constructor.- Throws:
ClassNotFoundException
- - if a needed class does not existIOException
- - if an IO error occurredIllegalAccessException
- - if this method cannot access a class, field, method, or constructor
-
-
Method Details
-
getResourceStream
Get an input stream containing a YAML file describing the classes this launcher provides.- Returns:
- the input stream
-