Package org.jnode.apps.jpartition.consoleview

Examples of org.jnode.apps.jpartition.consoleview.ConsoleViewFactory


    public static void main(String[] args) throws Throwable {
        InputStream in = System.in;
        PrintStream out = System.out;
        PrintStream err = System.err;
       
        final ViewFactory vf = new ConsoleViewFactory();
        final ErrorReporter errorReporter = vf.createErrorReporter(err);
/*       
        final Thread t = new Thread() {
            public void run() {
                try {
                    new FileDeviceView(errorReporter);
View Full Code Here


     * {@inheritDoc}
     */
    public void doExecute(boolean install, InputStream in, PrintStream out, PrintStream err, boolean consoleView,
                          boolean swingView) throws Exception {
        ViewFactory viewFactory =
                consoleView ? new ConsoleViewFactory()
                        : swingView ? new SwingViewFactory() : null;
        if (viewFactory == null) {
            err.println("No UI selected");
            exit(1);
        }
View Full Code Here

TOP

Related Classes of org.jnode.apps.jpartition.consoleview.ConsoleViewFactory

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.