Package java.io
Class RandomAccessFile

Public Method readFloat

final float readFloat()

Throws:

_INSERT_METHOD_SIGNATURE_HERE_

Description:

Reads a float from this file. This method reads an int value, starting at the current file pointer, as if by the readInt method and then converts that int to a float using the intBitsToFloat method in class Float.

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