Package ghidra.framework.main.datatable
Class DomainFileType
- java.lang.Object
-
- ghidra.framework.main.datatable.DomainFileType
-
- All Implemented Interfaces:
DisplayStringProvider
,java.lang.Comparable<DomainFileType>
public class DomainFileType extends java.lang.Object implements java.lang.Comparable<DomainFileType>, DisplayStringProvider
-
-
Constructor Summary
Constructors Constructor Description DomainFileType(java.lang.String contentType, javax.swing.Icon icon, boolean isVersioned)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(DomainFileType other)
java.lang.String
getContentType()
java.lang.String
getDisplayString()
Returns a display String suitable for user consumptionjavax.swing.Icon
getIcon()
java.lang.String
toString()
-
-
-
Method Detail
-
compareTo
public int compareTo(DomainFileType other)
- Specified by:
compareTo
in interfacejava.lang.Comparable<DomainFileType>
-
getContentType
public java.lang.String getContentType()
-
getIcon
public javax.swing.Icon getIcon()
-
getDisplayString
public java.lang.String getDisplayString()
Description copied from interface:DisplayStringProvider
Returns a display String suitable for user consumption- Specified by:
getDisplayString
in interfaceDisplayStringProvider
- Returns:
- a display String suitable for user consumption
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-