Class BooleanDecoder

java.lang.Object
org.apache.directory.api.asn1.ber.tlv.BooleanDecoder

public final class BooleanDecoder extends Object
Parse and decode a Boolean value.
Author:
Apache Directory Project
  • Method Details

    • parse

      public static boolean parse(BerValue value) throws BooleanDecoderException
      Parse a Value containing a byte[] and send back a boolean.
      Parameters:
      value - The Value to parse
      Returns:
      A boolean.
      Throws:
      BooleanDecoderException - Thrown if the Value does not contains a boolean