Class OmfSegmentHeader.SectionStream

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable
    Enclosing class:
    OmfSegmentHeader

    public class OmfSegmentHeader.SectionStream
    extends java.io.InputStream
    An InputStream that produces the bytes for the dataBlocks in this segment. It runs through the ordered OmfData in turn. It pads with zeroes, wherever part of the segment is not covered by a data block.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int read()  
      • Methods inherited from class java.io.InputStream

        available, close, mark, markSupported, nullInputStream, read, read, readAllBytes, readNBytes, readNBytes, reset, skip, transferTo
      • Methods inherited from class java.lang.Object

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

      • SectionStream

        public SectionStream​(BinaryReader reader,
                             MessageLog log)
                      throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • read

        public int read()
                 throws java.io.IOException
        Specified by:
        read in class java.io.InputStream
        Throws:
        java.io.IOException