
Read a constant pool entry from a stream. This is a factory method
which reads a constant pool entry form a stream and returns the
appropriate subclass for the entry.
Returns:
the appropriate ConstantPoolEntry subclass representing the
constant pool entry from the stream.
Parameters:
-
cpStream - the stream from which the constant pool entry is to
be read.
Throws:
-
java.io.IOException - if the constant pool entry cannot be read
from the stream