Class OldStyleExecutable


  • public class OldStyleExecutable
    extends java.lang.Object
    A class to manage loading Old-style (MZ) Executables.
    • Constructor Detail

      • OldStyleExecutable

        public OldStyleExecutable​(GenericFactory factory,
                                  ByteProvider bp)
                           throws java.io.IOException
        Constructs a new instance of an old-style executable
        Parameters:
        bp - the byte provider
        Throws:
        java.io.IOException - if an I/O error occurs
    • Method Detail

      • getBinaryReader

        public FactoryBundledWithBinaryReader getBinaryReader()
        Returns the underlying binary reader.
        Returns:
        the underlying binary reader
      • getDOSHeader

        public DOSHeader getDOSHeader()
        Returns the DOS Header from this old-style executable.
        Returns:
        the DOS Header from this old-style executable