org.apache.directory.shared.asn1.util
Class BooleanDecoder
java.lang.Object
org.apache.directory.shared.asn1.util.BooleanDecoder
public class BooleanDecoder
- extends Object
Parse and decode a Boolean value.
- Version:
- $Rev: 912399 $, $Date: 2010-02-21 21:52:31 +0100 (Dim, 21 fév 2010) $
- Author:
- Apache Directory Project
|
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 |
BooleanDecoder
public BooleanDecoder()
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:
BooleanDecoderException - Thrown if the byte stream does not contains a boolean
Copyright © 2003-2010 The Apache Software Foundation. All Rights Reserved.