Package net.jcores.script.input

Examples of net.jcores.script.input.Input


     * @param args
     * @throws IOException
     */
    public static void main(String[] args) throws IOException {
        // Prepare inputs
        final Input input = new Input();
        input.parameter(InputFiles.class, "name").description("Short description", "Long description").dfault("test.txt");
        input.parameter(InputAlternatives.class, "mode").alternative("1", "Short", "Long").dfault("1") ;
       
        // Prepare and pack script
        JCoresScript.SCRIPT("Blah", args).io(input).transferable().console().pack();
       
        // Get actual inputs
View Full Code Here

TOP

Related Classes of net.jcores.script.input.Input

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.