Class BoundImportDataDirectory

    • Constructor Detail

      • BoundImportDataDirectory

        public BoundImportDataDirectory()
        DO NOT USE THIS CONSTRUCTOR, USE create*(GenericFactory ...) FACTORY METHODS INSTEAD.
    • Method Detail

      • getBoundImportDescriptors

        public BoundImportDescriptor[] getBoundImportDescriptors()
        Returns the array of bound import descriptors defined in this bound import data directory.
        Returns:
        the array of bound import descriptors defined in this bound import data directory
      • parse

        public boolean parse()
                      throws java.io.IOException
        Description copied from class: DataDirectory
        Parses this data directory.
        Specified by:
        parse in class DataDirectory
        Returns:
        True if parsing completed successfully; otherwise, false.
        Throws:
        java.io.IOException - If there was an IO problem while parsing.
      • writeBytes

        public void writeBytes​(java.io.RandomAccessFile raf,
                               DataConverter dc,
                               PortableExecutable template)
                        throws java.io.IOException
        Description copied from class: DataDirectory
        Directories that are not contained inside of sections should override this method to write their bytes into the specified file.
        Overrides:
        writeBytes in class DataDirectory
        Parameters:
        raf - the random access file used for output
        dc - the data converter for endianness
        template - the original unadulterated PE
        Throws:
        java.io.IOException - if an I/O error occurs