org.apache.directory.api.asn1.ber.tlv
Class BooleanDecoder

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

public final class BooleanDecoder
extends Object

Parse and decode a Boolean value.

Author:
Apache Directory Project

Constructor Summary
BooleanDecoder()
           
 
Method Summary
static boolean parse(BerValue value)
          Parse a Value containing a byte[] and send back a boolean.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BooleanDecoder

public BooleanDecoder()
Method Detail

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


Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.