Class BinaryAttributesMap

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Decoder<?> getDecoder​(java.lang.String name)
      Return the best decoder to use for the given attribute name.
      int getLength()
      The number of attributes in the map
      java.lang.String getName​(int index)
      The name of the attribute at the location
      <T> T getValue​(java.lang.String name, Decoder<T> decoder)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BinaryAttributesMap

        public BinaryAttributesMap()
    • Method Detail

      • getLength

        public int getLength()
        Description copied from interface: AttributesMap
        The number of attributes in the map
      • getName

        public java.lang.String getName​(int index)
        Description copied from interface: AttributesMap
        The name of the attribute at the location
      • getDecoder

        public Decoder<?> getDecoder​(java.lang.String name)
        Description copied from interface: AttributesMap
        Return the best decoder to use for the given attribute name. Not supported by all attribute maps.
      • getValue

        public <T> T getValue​(java.lang.String name,
                              Decoder<T> decoder)
                       throws java.io.IOException
        Throws:
        java.io.IOException