Package net.jsign.pe

Class DataDirectory


  • public class DataDirectory
    extends Object
    Entry of the data directory.
    Since:
    1.0
    Author:
    Emmanuel Bourg
    • Method Detail

      • exists

        public boolean exists()
      • erase

        public void erase()
        Fill the data directory with zeros.
        Since:
        2.0
      • isTrailing

        public boolean isTrailing()
                           throws IOException
        Tells if the data directory is at the end of the file.
        Returns:
        true if the data directory is at the end of the file, false otherwise
        Throws:
        IOException - if an I/O error occurs
        Since:
        2.0
      • write

        public void write​(long virtualAddress,
                          int size)