Class ConfOctetList

All Implemented Interfaces:
Serializable, Cloneable, Comparable<ConfBinary>

public class ConfOctetList extends ConfBinary implements Cloneable, Serializable
DATA_CONTAINER - Corresponds to the YANG tailf:octet-list type.
See Also:
  • Constructor Details

    • ConfOctetList

      public ConfOctetList(String str) throws ConfException
      Construct a ConfOctetList from a string of bytes in the format of octets (decimal values) separated with dots.
      Throws:
      ConfException
    • ConfOctetList

      public ConfOctetList(byte[] val)
    • ConfOctetList

      public ConfOctetList(ConfBinary obj)
      Constructs a ConfOctetList from a ConfBinary object.
  • Method Details

    • toString

      public String toString()
      Format a octetList as octets separated with dots, as for example: "1.2.4.192.255.0"
      Overrides:
      toString in class ConfBinary
      Returns:
      the printable representation of the object.