Package ghidra.framework.main.datatable

# Class DomainFileType

java.lang.Object
ghidra.framework.main.datatable.DomainFileType

All Implemented Interfaces:
  `DisplayStringProvider`, `Comparable<DomainFileType>`

public class DomainFileType extends Object implements Comparable<DomainFileType>, DisplayStringProvider

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `DomainFileType(String contentType, Icon icon, boolean isVersioned)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `int`
  `compareTo(DomainFileType other)`
  `String`
  `getContentType()`
  `String`
  `getDisplayString()`
  Returns a display String suitable for user consumption
  `Icon`
  `getIcon()`
  `String`
  `toString()`

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

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

- ## Constructor Details

  - ### DomainFileType

    public DomainFileType(String contentType, Icon icon, boolean isVersioned)

- ## Method Details

  - ### compareTo

    public int compareTo(DomainFileType other)
    Specified by:
      `compareTo` in interface `Comparable<DomainFileType>`

  - ### getContentType

    public String getContentType()

  - ### getIcon

    public Icon getIcon()

  - ### getDisplayString

    public String getDisplayString()
    Description copied from interface: `DisplayStringProvider`
    Returns a display String suitable for user consumption
    Specified by:
      `getDisplayString` in interface `DisplayStringProvider`
    Returns:
      a display String suitable for user consumption

  - ### toString

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