Uses of Class
org.apache.directory.shared.asn1.codec.DecoderException

Packages that use DecoderException
org.apache.directory.shared.asn1   
org.apache.directory.shared.asn1.ber   
org.apache.directory.shared.asn1.ber.grammar   
org.apache.directory.shared.asn1.ber.tlv   
org.apache.directory.shared.asn1.codec   
org.apache.directory.shared.asn1.codec.binary   
org.apache.directory.shared.asn1.codec.stateful Provides the fundamental stateful codec interfaces. 
org.apache.directory.shared.asn1.codec.stateful.examples   
org.apache.directory.shared.asn1.primitives   
 

Uses of DecoderException in org.apache.directory.shared.asn1
 

Methods in org.apache.directory.shared.asn1 that throw DecoderException
 void Asn1Object.addLength(int length)
          Add a length to the object
 

Uses of DecoderException in org.apache.directory.shared.asn1.ber
 

Methods in org.apache.directory.shared.asn1.ber that throw DecoderException
private  boolean Asn1Decoder.treatTagStartState(java.nio.ByteBuffer stream, IAsn1Container container)
          Treat the start of a TLV.
private  boolean Asn1Decoder.treatTagPendingState(java.nio.ByteBuffer stream, IAsn1Container container)
          Treat a tag that is more than one byte long if the stream was cut in pieces.
private  void Asn1Decoder.treatTagEndState(IAsn1Container container)
          Action to be executed when the Tag has been decoded.
private  boolean Asn1Decoder.treatLengthStartState(java.nio.ByteBuffer stream, IAsn1Container container)
          Treat the Length start.
private  boolean Asn1Decoder.treatLengthPendingState(java.nio.ByteBuffer stream, IAsn1Container container)
          This function is called when a Length is in the process of being decoded, but the lack of bytes in the buffer stopped the process.
private  void Asn1Decoder.treatLengthEndState(IAsn1Container container)
          The Length is fully decoded.
private  boolean Asn1Decoder.treatValueStartState(java.nio.ByteBuffer stream, IAsn1Container container)
          Treat the Value part.
private  boolean Asn1Decoder.treatValuePendingState(java.nio.ByteBuffer stream, IAsn1Container container)
          Treat a pending Value when we get more bytes in the buffer.
private  boolean Asn1Decoder.treatTLVDoneState(java.nio.ByteBuffer stream, IAsn1Container container)
          When the TLV has been fully decoded, we have to execute the associated action and switch to the next TLV, which will start with a Tag.
 void Asn1Decoder.decode(java.nio.ByteBuffer stream, IAsn1Container container)
          The decoder main function.
 void Asn1Decoder.setMaxLengthLength(int maxLengthLength)
          Set the maximul length for a Length
 

Uses of DecoderException in org.apache.directory.shared.asn1.ber.grammar
 

Methods in org.apache.directory.shared.asn1.ber.grammar that throw DecoderException
protected  void AbstractGrammar.checkLength(Asn1Object object, TLV tlv)
          Checks the Length.
 void AbstractGrammar.executeAction(IAsn1Container container)
          The main function.
 void IGrammar.executeAction(IAsn1Container asn1Container)
          This method, when called, execute an action on the current data stored in the container.
 void IAction.action(IAsn1Container container)
          The action to be executed.
 

Uses of DecoderException in org.apache.directory.shared.asn1.ber.tlv
 

Methods in org.apache.directory.shared.asn1.ber.tlv that throw DecoderException
 void ITLVBerDecoderMBean.setMaxLengthLength(int length)
          Set the number of bytes that can be used to encode the Value length, including the first byte.
 

Uses of DecoderException in org.apache.directory.shared.asn1.codec
 

Methods in org.apache.directory.shared.asn1.codec that throw DecoderException
 byte[] BinaryDecoder.decode(byte[] pArray)
          Decodes a byte array and returns the results as a byte array.
 java.lang.Object Decoder.decode(java.lang.Object pObject)
          Decodes an "encoded" Object and returns a "decoded" Object.
 

Uses of DecoderException in org.apache.directory.shared.asn1.codec.binary
 

Methods in org.apache.directory.shared.asn1.codec.binary that throw DecoderException
 java.lang.Object BinaryCodec.decode(java.lang.Object ascii)
          Decodes a byte array where each byte represents an ascii '0' or '1'.
static byte[] Hex.decodeHex(char[] data)
          Converts an array of characters representing hexidecimal values into an array of bytes of those same values.
protected static int Hex.toDigit(char ch, int index)
          Converts a hexadecimal character to an integer.
 byte[] Hex.decode(byte[] array)
          Converts an array of character bytes representing hexidecimal values into an array of bytes of those same values.
 java.lang.Object Hex.decode(java.lang.Object object)
          Converts a String or an array of character bytes representing hexidecimal values into an array of bytes of those same values.
 

Uses of DecoderException in org.apache.directory.shared.asn1.codec.stateful
 

Methods in org.apache.directory.shared.asn1.codec.stateful that throw DecoderException
 void StatefulDecoder.decode(java.lang.Object encoded)
          Decodes a peice of encoded data.
 void DecoderStack.decode(java.lang.Object encoded)
          Decodes an encoded object by calling decode on the decoder at the bottom of the stack.
 

Uses of DecoderException in org.apache.directory.shared.asn1.codec.stateful.examples
 

Methods in org.apache.directory.shared.asn1.codec.stateful.examples that throw DecoderException
 void HexDecoder.decode(java.lang.Object chunk)
           
private  byte HexDecoder.getNibble(byte ch)
           
 

Uses of DecoderException in org.apache.directory.shared.asn1.primitives
 

Methods in org.apache.directory.shared.asn1.primitives that throw DecoderException
 void OID.setOID(byte[] oid)
          Set the OID.
 void OID.setOID(java.lang.String oid)
          Set the OID.
 boolean BitString.getBit(int pos)
          Get the bit stored into the BitString at a specific position? The position start at 0, which is on the left : With '1001 000x', where x is an unused bit, ^ ^ ^^ | | || | | |+---- getBit(7) -> DecoderException | | +----- getBit(6) = 0 | +---------- getBit(2) = 0 +------------ getBit(0) = 1
 

Constructors in org.apache.directory.shared.asn1.primitives that throw DecoderException
OID(byte[] oid)
          Create a new OID object from a byte array
OID(java.lang.String oid)
          Create a new OID object from a String
 



Copyright © 2003-2006 . All Rights Reserved.