Reads from the
stream <code>inputStream</code> a representation
of a Unicode character string encoded inputStream
<a href="DataInput.html#modified-utf-8">modified UTF-8</a> format;
this string of characters is then returned as a <code>String</code>.
The details of the modified UTF-8 representation
are exactly the same as for the <code>readUTF</code>
method of <code>DataInput</code>.
@param inputStream a data input stream.
@return a Unicode string.
@exception EOFException if the input stream reaches the end
before all the bytes.
@exception IOException the stream has been closed and the contained
input stream does not support reading after close, or
another I/O error occurs.
@exception UTFDataFormatException if the bytes do not represent a
valid modified UTF-8 encoding of a Unicode string.
@see java.io.DataInputStream#readUnsignedShort()
Reads from the stream <code>inputStream</code> a representation of a Unicode character string encoded inputStream <a href="DataInput.html#modified-utf-8">modified UTF-8</a> format; this string of characters is then returned as a <code>String</code>. The details of the modified UTF-8 representation are exactly the same as for the <code>readUTF</code> method of <code>DataInput</code>.
@param inputStream a data input stream. @return a Unicode string. @exception EOFException if the input stream reaches the end before all the bytes. @exception IOException the stream has been closed and the contained input stream does not support reading after close, or another I/O error occurs. @exception UTFDataFormatException if the bytes do not represent a valid modified UTF-8 encoding of a Unicode string. @see java.io.DataInputStream#readUnsignedShort()