org.apache.directory.shared.asn1.util
Class BooleanDecoder

java.lang.Object
  extended byorg.apache.directory.shared.asn1.util.BooleanDecoder

public class BooleanDecoder
extends java.lang.Object

Parse and decode a Boolean value.

Author:
Apache Directory Project

Constructor Summary
BooleanDecoder()
           
 
Method Summary
static boolean parse(Value value)
          Parse a byte buffer and send back a booelan.
 
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(Value value)
                     throws BooleanDecoderException
Parse a byte buffer and send back a booelan.

Parameters:
value - The byte buffer to parse
Returns:
A boolean.
Throws:
DecoderException - Thrown if the byte stream does not contains a boolean
BooleanDecoderException


Copyright © 2004-2007 null. All Rights Reserved.