Package henplus

Examples of henplus.PrintStreamOutputDevice


        return stack.peek();
    }

    private void openSpool(final String filename) throws IOException {
        // open file
        final OutputDevice spool = new PrintStreamOutputDevice(new PrintStream(new FileOutputStream(filename)));
        HenPlus.getInstance().setOutput(openStackedDevice(_outStack, spool), openStackedDevice(_msgStack, spool));
        HenPlus.msg().println("-- open spool at " + new Date());
    }
View Full Code Here

TOP

Related Classes of henplus.PrintStreamOutputDevice

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.