What class allows you to read objects directly from a stream

The ObjectInputStream class supports the reading of objects from input streams.