\b does not represent a backspace character. \, before a non-valid escape character as an error; the backslash is silently dropped. For example, in a Java string the sequence "\z" would cause a compile time error. In contrast, this method silently drops the backslash. Therefore, this method treats the two character sequence "\b" as equivalent to the single character 'b'. The specified stream remains open after this method returns. @param reader the input character stream. @throws IOException if an error occurred when reading from theinput stream. @throws IllegalArgumentException if a malformed Unicode escapeappears in the input. @since 1.6
| |
| |
| |