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.
- 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:
DecoderException
- Thrown if the byte stream does not contains a boolean
BooleanDecoderException
Copyright © 2004-2012. All Rights Reserved.