Class BERTagDecoder

  • Direct Known Subclasses:
    JDAPBERTagDecoder

    public abstract class BERTagDecoder
    extends java.lang.Object
    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 
      Constructor Description
      BERTagDecoder()  
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      abstract BERElement getElement​(BERTagDecoder decoder, int tag, java.io.InputStream stream, int[] bytes_read, boolean[] implicit)
      Gets an application specific ber element from an input stream.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BERTagDecoder

        public BERTagDecoder()
    • Method Detail

      • getElement

        public abstract 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 an input stream.
        Parameters:
        decoder - an instance of a BERTagDecoder
        tag - element tag
        stream - source stream
        bytes_read - array of 1 int; value incremented by number of bytes read from stream
        implicit - array of implicit flags
        Throws:
        java.io.IOException