RandomAccessFile.readFloat
Class Overview | Class Members | 
  This Package | 
All Packages
 public final float readFloat() throws IOException
Returns
     the next four bytes of this file, interpreted as a
             float.
    Description
 Reads a float from this file. This method reads an 
 int value 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 four bytes are read, the end of the 
 stream is detected, or an exception is thrown.
  
Exceptions
 EOFException
     if this file reaches the end before reading
             four bytes.
    
Exceptions
 IOException
     if an I/O error occurs.
    
See Also
     readInt, intBitsToFloat