Package ghidra.app.util.bin.format.dwarf4

# Class DWARFLine.DWARFFile

java.lang.Object
ghidra.app.util.bin.format.dwarf4.DWARFLine.DWARFFile

Enclosing class:
  DWARFLine

public static class DWARFLine.DWARFFile extends 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(String name, long directory_index, long modification_time, long length)`
  Create a new DWARF file entry with the given parameters.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `long`
  `getDirectoryIndex()`
  `long`
  `getModificationTime()`
  `String`
  `getName()`
  `String`
  `toString()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### DWARFFile

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

  - ### DWARFFile

    public DWARFFile(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 Details

  - ### getName

    public String getName()

  - ### getDirectoryIndex

    public long getDirectoryIndex()

  - ### getModificationTime

    public long getModificationTime()

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`