Class ConstantPoolInfoFactory

java.lang.Object
org.fife.rsta.ac.java.classreader.constantpool.ConstantPoolInfoFactory
All Implemented Interfaces:
ConstantTypes

public final class ConstantPoolInfoFactory extends Object implements ConstantTypes
A factory for constant pool information.
Version:
1.0
  • Constructor Details

    • ConstantPoolInfoFactory

      private ConstantPoolInfoFactory()
      Private constructor to prevent instantiation.
  • Method Details

    • readConstantPoolInfo

      public static ConstantPoolInfo readConstantPoolInfo(ClassFile cf, DataInputStream in) throws IOException
      Reads constant pool information.
      Parameters:
      cf - The class file being parsed.
      in - The input stream to read from.
      Returns:
      The next constant pool record.
      Throws:
      IOException - If an IO error occurs.