org.apache.directory.shared.asn1.codec.stateful.examples
Class HexDecoder

java.lang.Object
  extended by org.apache.directory.shared.asn1.codec.stateful.AbstractStatefulDecoder
      extended by org.apache.directory.shared.asn1.codec.stateful.examples.HexDecoder
All Implemented Interfaces:
StatefulDecoder

public class HexDecoder
extends AbstractStatefulDecoder

Document me.

Version:
$Rev: 912399 $
Author:
Apache Directory Project

Constructor Summary
HexDecoder()
           
 
Method Summary
 void decode(java.lang.Object chunk)
          Decodes a piece of encoded data.
 
Methods inherited from class org.apache.directory.shared.asn1.codec.stateful.AbstractStatefulDecoder
decodeOccurred, getDecoderMonitor, setCallback, setDecoderMonitor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HexDecoder

public HexDecoder()
Method Detail

decode

public void decode(java.lang.Object chunk)
            throws DecoderException
Description copied from interface: StatefulDecoder
Decodes a piece of encoded data. The nature of this call, synchronous verses asynchonous, with respect to driving the actual decoding of the encoded data argument is determined by an implementation. A return from this method does not guarantee any callbacks: zero or more callbacks may occur during this call.

Parameters:
chunk - an object representing a piece of encoded data
Throws:
DecoderException - if the encoded element can't be decoded


Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.