Class DWARFLine.DWARFFile

  • Enclosing class:
    DWARFLine

    public static class DWARFLine.DWARFFile
    extends java.lang.Object
    DWARFFile is used to store file information for each entry in the line section header.
    • Constructor Summary

      Constructors 
      Constructor Description
      DWARFFile​(BinaryReader reader)
      Read in a new file entry and store into this object.
      DWARFFile​(java.lang.String name, long directory_index, long modification_time, long length)
      Create a new DWARF file entry with the given parameters.
    • Constructor Detail

      • DWARFFile

        public DWARFFile​(BinaryReader reader)
                  throws java.io.IOException
        Read in a new file entry and store into this object.
        Parameters:
        reader - binary reader to read the file entry
        Throws:
        java.io.IOException - if an I/O error occurs
      • DWARFFile

        public DWARFFile​(java.lang.String name,
                         long directory_index,
                         long modification_time,
                         long length)
        Create a new DWARF file entry with the given parameters.
        Parameters:
        name - name of the file
        directory_index - index of the directory for this file
        modification_time - modification time of the file
        length - length of the file
    • Method Detail

      • getName

        public java.lang.String getName()
      • getDirectoryIndex

        public long getDirectoryIndex()
      • getModificationTime

        public long getModificationTime()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object