netscape.ldap.client
Class JDAPBERTagDecoder

java.lang.Object
  extended bynetscape.ldap.ber.stream.BERTagDecoder
      extended bynetscape.ldap.client.JDAPBERTagDecoder

public class JDAPBERTagDecoder
extends BERTagDecoder

This class is to help BER libraries to make decision on how to decode an implicit object.


Constructor Summary
JDAPBERTagDecoder()
           
 
Method Summary
 BERElement getElement(BERTagDecoder decoder, int tag, java.io.InputStream stream, int[] bytes_read, boolean[] implicit)
          Gets an application specific ber element from the stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JDAPBERTagDecoder

public JDAPBERTagDecoder()
Method Detail

getElement

public BERElement getElement(BERTagDecoder decoder,
                             int tag,
                             java.io.InputStream stream,
                             int[] bytes_read,
                             boolean[] implicit)
                      throws java.io.IOException
Gets an application specific ber element from the stream.

Specified by:
getElement in class BERTagDecoder
Parameters:
stream - input stream
bytes_read - number of bytes read
implicit - to indicate a tag implicit or not
decoder - an instance of a BERTagDecoder
tag - element tag
Throws:
java.io.IOException