Class UnrecognizedAttribute

  • All Implemented Interfaces:
    Attribute

    public class UnrecognizedAttribute
    extends java.lang.Object
    implements Attribute
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.lang.String name  
      java.nio.ByteBuffer value  
    • Constructor Summary

      Constructors 
      Constructor Description
      UnrecognizedAttribute​(java.lang.String name, java.nio.ByteBuffer value)  
    • Field Detail

      • name

        public final java.lang.String name
      • value

        public final java.nio.ByteBuffer value
    • Constructor Detail

      • UnrecognizedAttribute

        public UnrecognizedAttribute​(java.lang.String name,
                                     java.nio.ByteBuffer value)
    • Method Detail

      • name

        public java.lang.String name()
        Specified by:
        name in interface Attribute
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • read

        public static UnrecognizedAttribute read​(java.io.DataInput in,
                                                 java.lang.String name,
                                                 int attribute_length)
                                          throws java.io.IOException
        Throws:
        java.io.IOException
      • write

        public void write​(java.io.DataOutput out,
                          ConstantPool constant_pool)
                   throws java.io.IOException
        Specified by:
        write in interface Attribute
        Throws:
        java.io.IOException