DataInputStream.readUTF

See the general contract of the <code>readUTF</code> method of <code>DataInput</code>. <p> Bytes for this operation are read from the contained input stream.

@return a Unicode string. @exception EOFException if this input stream reaches the end before reading 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 string. @see java.io.DataInputStream#readUTF(java.io.DataInput)

  1. string readUTF()
    class DataInputStream
    final
    string
    readUTF
    ()
  2. string readUTF(DataInput inputStream)

Meta