Reads from the
stream in a representation
of a Unicode character string encoded in
modified UTF-8 format;
this string of characters is then returned as a String.
The details of the modified UTF-8 representation
are exactly the same as for the readUTF
method of DataInput.
in | a data input stream. |
EOFException | if the input stream reaches the end before all the bytes. | |
IOException | the stream has been closed and the contained input stream does not support reading after close, or another I/O error occurs. | |
UTFDataFormatException | if the bytes do not represent a valid modified UTF-8 encoding of a Unicode string. |
Diagram: InputStream