Package netscape.ldap.client
Class JDAPBERTagDecoder
java.lang.Object
netscape.ldap.ber.stream.BERTagDecoder
netscape.ldap.client.JDAPBERTagDecoder
This class is to help BER libraries to make decision
on how to decode an implicit object.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetElement
(BERTagDecoder decoder, int tag, InputStream stream, int[] bytes_read, boolean[] implicit) Gets an application specific ber element from the stream.
-
Constructor Details
-
JDAPBERTagDecoder
public JDAPBERTagDecoder()
-
-
Method Details
-
getElement
public BERElement getElement(BERTagDecoder decoder, int tag, InputStream stream, int[] bytes_read, boolean[] implicit) throws IOException Gets an application specific ber element from the stream.- Specified by:
getElement
in classBERTagDecoder
- Parameters:
decoder
- ber decoder to usetag
- ber tag to getstream
- input streambytes_read
- number of bytes readimplicit
- to indicate a tag implicit or not- Throws:
IOException
-