org.apache.asn1new.util
Class BooleanDecoder

java.lang.Object
  extended byorg.apache.asn1new.util.BooleanDecoder

public class BooleanDecoder
extends java.lang.Object

Parse and decode a Boolean value.

Author:
Apache Directory Project

Field Summary
private static org.slf4j.Logger log
          The logger
 
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
 

Field Detail

log

private static final org.slf4j.Logger log
The logger

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:
org.apache.asn1.codec.DecoderException - Thrown if the byte stream does not contains a boolean
BooleanDecoderException


Copyright © 2005-2006 . All Rights Reserved.