Package javarepl.console

Examples of javarepl.console.ConsoleConfig


* Example shows how to embed JavaREPL inside your application. Note that your application needs to be running via JDK
* for the JavaREPL to work.
*/
public class EmbedInApplication {
    public static void main(String... args) throws Exception {
        ConsoleConfig config = consoleConfig()
                .historyFile(new File(getProperty("user.home"), ".javarepl-embedded.history"))
                .commands(
                        ListValues.class,
                        ShowHistory.class,
                        EvaluateFromHistory.class,
View Full Code Here

TOP

Related Classes of javarepl.console.ConsoleConfig

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.