public void reinitialize ( InputStream systemIn , PrintStream systemOut , PrintStream systemErr ) throws IOException { if ( reader != null ) { reader . shutdown ( ) ; } initialize ( systemIn , systemOut , systemErr ) ; }
Use in testing when System . out System . err or System . in change .