/** * Convenience factory method that returns a non-closing * PrintStream around System.out. * * @return PrintStream * @since Ant 1.8.0 */ public static PrintStream wrapSystemOut() { return wrap(System.out); }
/** * Convenience factory method that returns a non-closing * PrintStream around System.err. * * @return PrintStream * @since Ant 1.8.0 */ public static PrintStream wrapSystemErr() { return wrap(System.err); }