Class SosSegment


  • public class SosSegment
    extends Segment
    • Field Detail

      • LOGGER

        private static final java.util.logging.Logger LOGGER
      • numberOfComponents

        public final int numberOfComponents
      • startOfSpectralSelection

        public final int startOfSpectralSelection
      • endOfSpectralSelection

        public final int endOfSpectralSelection
      • successiveApproximationBitHigh

        public final int successiveApproximationBitHigh
      • successiveApproximationBitLow

        public final int successiveApproximationBitLow
    • Constructor Detail

      • SosSegment

        public SosSegment​(int marker,
                          byte[] segmentData)
                   throws java.io.IOException
        Throws:
        java.io.IOException
      • SosSegment

        public SosSegment​(int marker,
                          int markerLength,
                          java.io.InputStream is)
                   throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • getComponents

        public SosSegment.Component[] getComponents()
        Returns a copy of all the components.
        Returns:
        all the components
      • getComponents

        public SosSegment.Component getComponents​(int index)
        Return a component at the specified index.
        Parameters:
        index - the component index
        Returns:
        the component
      • getDescription

        public java.lang.String getDescription()
        Specified by:
        getDescription in class Segment