public void write(int b) throws IOException {
        Boolean result = (Boolean) callback.call(consoleId.get(), String.valueOf((char) b));
        if (result) {
            out.write(b);
        }
    }
public void write ( int b ) throws IOException { Boolean result = ( Boolean ) callback . call ( consoleId . get ( ) , String . valueOf ( ( char ) b ) ) ; if ( result ) { out . write ( b ) ; } }
Intercepts output - single characters