All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.sourceforge.plantuml.anim.AnimationScript Maven / Gradle / Ivy

There is a newer version: 1.2024.8
Show newest version
// THIS FILE HAS BEEN GENERATED BY A PREPROCESSOR.
package net.sourceforge.plantuml.anim;

public class AnimationScript {

//	private final ScriptEngine engine;

	public AnimationScript() {

//		final ScriptEngineManager manager = new ScriptEngineManager();
//		engine = manager.getEngineByName("js");

		// ScriptEngineManager manager = new ScriptEngineManager();
		// List factories = manager.getEngineFactories();
		// for (ScriptEngineFactory factory : factories) {
		// System.out.println("Name : " + factory.getEngineName());
		// System.out.println("Version : " + factory.getEngineVersion());
		// System.out.println("Language name : " + factory.getLanguageName());
		// System.out.println("Language version : " + factory.getLanguageVersion());
		// System.out.println("Extensions : " + factory.getExtensions());
		// System.out.println("Mime types : " + factory.getMimeTypes());
		// System.out.println("Names : " + factory.getNames());
		//
		// }

	}

	public String eval(String line) {
		throw new UnsupportedOperationException();
//		final ScriptContext context = engine.getContext();
//		final StringWriter sw = new StringWriter();
//		context.setWriter(new PrintWriter(sw));
//		engine.eval(line, context);
//		final String result = sw.toString();
//		return result;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy