Package netscape.ldap.ber.stream
Class BERTagDecoder
java.lang.Object
netscape.ldap.ber.stream.BERTagDecoder
- Direct Known Subclasses:
JDAPBERTagDecoder
This is an abstract class which should be extended
for use by the BERTag class in decoding application
specific BER tags. Since different applications may
define their own tag, the BER package needs a tag decoder
to give hints on how to decode implicitly tagged
objects. Each application should extend this
decoder.
- Version:
- 1.0 seeAlso CCITT X.209
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract BERElement
getElement
(BERTagDecoder decoder, int tag, InputStream stream, int[] bytes_read, boolean[] implicit) Gets an application specific ber element from an input stream.
-
Constructor Details
-
BERTagDecoder
public BERTagDecoder()
-
-
Method Details
-
getElement
public abstract BERElement getElement(BERTagDecoder decoder, int tag, InputStream stream, int[] bytes_read, boolean[] implicit) throws IOException Gets an application specific ber element from an input stream.- Parameters:
decoder
- an instance of a BERTagDecodertag
- element tagstream
- source streambytes_read
- array of 1 int; value incremented by number of bytes read from streamimplicit
- array of implicit flags- Throws:
IOException
-