Returns the character content of this file object, if available.
Any byte that cannot be decoded will be replaced by the default
translation character. In addition, a diagnostic may be
reported unless ignoreEncodingErrors is true.
ignoreEncodingErrors | ignore encoding errors if true |
null otherwise
IllegalStateException | if this file object was opened for writing and does not support reading | |
UnsupportedOperationException | if this kind of file object does not support character access | |
IOException | if an I/O error occurred |
Diagram: JavaFileObject