Package java.io
Class RandomAccessFile

Public Method readShort

final short readShort()

Throws:

_INSERT_METHOD_SIGNATURE_HERE_

Description:

Reads a signed 16-bit number from this file. The method reads two bytes from this file, starting at the current file pointer.

This method blocks until the two bytes are read, the end of the stream is detected, or an exception is thrown.