Class JBIG2Globals


  • public class JBIG2Globals
    extends java.lang.Object
    This class stores segments, that aren't associated to a page. If the data is embedded in another format, for example PDF, this segments might be stored separately in the file. This segments will be decoded on demand and all results are stored in the document object and can be retrieved from there.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.Map<java.lang.Integer,​SegmentHeader> globalSegments
      This map contains all segments, that are not associated with a page.
    • Constructor Summary

      Constructors 
      Constructor Description
      JBIG2Globals()  
    • Field Detail

      • globalSegments

        private java.util.Map<java.lang.Integer,​SegmentHeader> globalSegments
        This map contains all segments, that are not associated with a page. The key is the segment number.
    • Constructor Detail

      • JBIG2Globals

        public JBIG2Globals()
    • Method Detail

      • getSegment

        protected SegmentHeader getSegment​(int segmentNr)
      • addSegment

        protected void addSegment​(java.lang.Integer segmentNumber,
                                  SegmentHeader segment)