# Class: com.pnfsoftware.jeb.core.units.WellKnownUnitTypes
- Super class: `java.lang.Object`

Well\-known binary types for [unit identifiers](IUnitIdentifier#getFormatType()). Plugin  writers may use one of those types, as they see fit. They are in no way limited to those types;  those types are solely provided for convenience.   

  When writing plugins for one of the following type, it is recommended to use the associated type  string. They provide several advantages, both visual and functional:  
  
- clients \(such as the official RCP client\) are aware of those types and may provide icon  labels automatically, freeing developers from implementing [getIconData](IUnit#getIconData()).  
- during delegation, other plugins may expect a given input type  
- during processing, plugins may want to produce units with a given, forced well\-known  type  
- engines plugins may want to look for units with a specific type  

  

  Types starting with the prefix [#pfxTypeDecompiler](#pfxTypeDecompiler) should be treated as decompilers by  front\-end clients.  

  Types starting with the prefix [#pfxTypeDebugger](#pfxTypeDebugger) should be treated as debuggers by  front\-end clients.

## Constructor: WellKnownUnitTypes (no-arg)


## Static Final Field: genDecompiler
Type: `java.lang.String`

Constant value: `code_dcmp`
Description: special pseudo\-type for [decompilers](com.pnfsoftware.jeb.core.units.code.asm.INativeDecompilerPlugin.md)

## Static Final Field: genDisassembler
Type: `java.lang.String`

Constant value: `code_disa`
Description: special pseudo\-type for [disassemblers](com.pnfsoftware.jeb.core.units.code.asm.INativeDisassemblerPlugin.md)

## Static Final Field: pfxTypeDebugger
Type: `java.lang.String`

Constant value: `dbug_`
Description: special prefix\-type used by debugger plugins

## Static Final Field: pfxTypeDecompiler
Type: `java.lang.String`

Constant value: `dcmp_`
Description: special prefix\-type used by decompiler plugins

## Static Final Field: pseudotypeImage
Type: `java.lang.String`

Constant value: `image`
Description: Generic Image format \(jpg, png, bmp...\)

## Static Final Field: typeARM
Type: `java.lang.String`

Constant value: `arm`

## Static Final Field: typeARM64
Type: `java.lang.String`

Constant value: `arm64`

## Static Final Field: typeAndroidAar
Type: `java.lang.String`

Constant value: `aar`

## Static Final Field: typeAndroidApk
Type: `java.lang.String`

Constant value: `apk`

## Static Final Field: typeAndroidArt
Type: `java.lang.String`

Constant value: `art`

## Static Final Field: typeAndroidCompactDex
Type: `java.lang.String`

Constant value: `cdex`

## Static Final Field: typeAndroidDex
Type: `java.lang.String`

Constant value: `dex`

## Static Final Field: typeAndroidOat
Type: `java.lang.String`

Constant value: `oat`

## Static Final Field: typeAndroidOptimizedDex
Type: `java.lang.String`

Constant value: `odex`

## Static Final Field: typeAndroidResources
Type: `java.lang.String`

Constant value: `arsc`

## Static Final Field: typeAndroidVdex
Type: `java.lang.String`

Constant value: `vdex`

## Static Final Field: typeAndroidXApk
Type: `java.lang.String`

Constant value: `xapk`

## Static Final Field: typeAppleMacho
Type: `java.lang.String`

Constant value: `macho`

## Static Final Field: typeAppleMachoFat
Type: `java.lang.String`

Constant value: `machofat`

## Static Final Field: typeArArchive
Type: `java.lang.String`

Constant value: `ar`

## Static Final Field: typeAtmelAVR
Type: `java.lang.String`

Constant value: `avr`

## Static Final Field: typeBinary
Type: `java.lang.String`

Constant value: `binary`

## Static Final Field: typeC
Type: `java.lang.String`

Constant value: `c`

## Static Final Field: typeCART
Type: `java.lang.String`

Constant value: `cart`

## Static Final Field: typeCertificate
Type: `java.lang.String`

Constant value: `cert`

## Static Final Field: typeChromeCrx
Type: `java.lang.String`

Constant value: `crx`

## Static Final Field: typeComposite
Type: `java.lang.String`

Constant value: `composite`

## Static Final Field: typeCpp
Type: `java.lang.String`

Constant value: `cpp`

## Static Final Field: typeEthereumBytecode
Type: `java.lang.String`

Constant value: `evmbc`

## Static Final Field: typeEthereumContract
Type: `java.lang.String`

Constant value: `eth`

## Static Final Field: typeGeneric
Type: `java.lang.String`

Constant value: `generic`

## Static Final Field: typeGzip
Type: `java.lang.String`

Constant value: `gzip`

## Static Final Field: typeHtml
Type: `java.lang.String`

Constant value: `html`

## Static Final Field: typeIntelHEX
Type: `java.lang.String`

Constant value: `ihex`

## Static Final Field: typeIntelX86
Type: `java.lang.String`

Constant value: `x86`

## Static Final Field: typeIntelX86_64
Type: `java.lang.String`

Constant value: `x86_64`

## Static Final Field: typeJava
Type: `java.lang.String`

Constant value: `java`

## Static Final Field: typeJavaArchive
Type: `java.lang.String`

Constant value: `jar`

## Static Final Field: typeJavaClassfile
Type: `java.lang.String`

Constant value: `javaclass`

## Static Final Field: typeJavaScript
Type: `java.lang.String`

Constant value: `javascript`

## Static Final Field: typeJson
Type: `java.lang.String`

Constant value: `json`

## Static Final Field: typeLLVMBitcode
Type: `java.lang.String`

Constant value: `llvmbc`

## Static Final Field: typeLinuxElf
Type: `java.lang.String`

Constant value: `elf`

## Static Final Field: typeMIPS
Type: `java.lang.String`

Constant value: `mips`

## Static Final Field: typeMIPS64
Type: `java.lang.String`

Constant value: `mips64`

## Static Final Field: typeMicrosoftExcel
Type: `java.lang.String`

Constant value: `msxls`

## Static Final Field: typeMicrosoftExcelOpenXML
Type: `java.lang.String`

Constant value: `msxlsx`

## Static Final Field: typeMicrosoftOle
Type: `java.lang.String`

Constant value: `ole`

## Static Final Field: typeMicrosoftOutlook
Type: `java.lang.String`

Constant value: `msoutlook`

## Static Final Field: typeMicrosoftPowerpoint
Type: `java.lang.String`

Constant value: `msppt`

## Static Final Field: typeMicrosoftPowerpointOpenXML
Type: `java.lang.String`

Constant value: `mspptx`

## Static Final Field: typeMicrosoftThumbs
Type: `java.lang.String`

Constant value: `msthumbs`

## Static Final Field: typeMicrosoftWord
Type: `java.lang.String`

Constant value: `msdoc`

## Static Final Field: typeMicrosoftWordOpenXML
Type: `java.lang.String`

Constant value: `msdocx`

## Static Final Field: typePdf
Type: `java.lang.String`

Constant value: `pdf`

## Static Final Field: typePython
Type: `java.lang.String`

Constant value: `python`

## Static Final Field: typeRarArchive
Type: `java.lang.String`

Constant value: `rar`

## Static Final Field: typeRiscV
Type: `java.lang.String`

Constant value: `riscv`

## Static Final Field: typeSevenzipArchive
Type: `java.lang.String`

Constant value: `sevenzip`

## Static Final Field: typeStream
Type: `java.lang.String`

Constant value: `stream`

## Static Final Field: typeSvg
Type: `java.lang.String`

Constant value: `svg`

## Static Final Field: typeTar
Type: `java.lang.String`

Constant value: `tar`

## Static Final Field: typeText
Type: `java.lang.String`

Constant value: `text`

## Static Final Field: typeVBScript
Type: `java.lang.String`

Constant value: `vbscript`

## Static Final Field: typeWebassemblyBytecode
Type: `java.lang.String`

Constant value: `wasmbc`

## Static Final Field: typeWebassemblyModule
Type: `java.lang.String`

Constant value: `wasm`

## Static Final Field: typeWinCoff
Type: `java.lang.String`

Constant value: `wincoff`

## Static Final Field: typeWinPe
Type: `java.lang.String`

Constant value: `winpe`

## Static Final Field: typeXml
Type: `java.lang.String`

Constant value: `xml`

## Static Final Field: typeZipArchive
Type: `java.lang.String`

Constant value: `zip`

## Static Method: fromMimeType
- parameter: `mimeType`, type: `java.lang.String`
- return type: `java.lang.String`

Description: Convert a [MimeType](com.pnfsoftware.jeb.util.encoding.MimeType.md) to a [WellKnownUnitTypes](com.pnfsoftware.jeb.core.units.WellKnownUnitTypes.md).
parameter: mimeType: mime type. See [MimeType](com.pnfsoftware.jeb.util.encoding.MimeType.md) for well known mime types
return: the related [WellKnownUnitTypes](com.pnfsoftware.jeb.core.units.WellKnownUnitTypes.md) or null if unknown

## Static Method: isNativeCode
- parameter: `formatType`, type: `java.lang.String`
- return type: `boolean`


## Static Method: toCommonExtension
- parameter: `formatType`, type: `java.lang.String`
- return type: `java.lang.String`

Description: Convert a [WellKnownUnitTypes](com.pnfsoftware.jeb.core.units.WellKnownUnitTypes.md) to the common extension. A [WellKnownUnitTypes](com.pnfsoftware.jeb.core.units.WellKnownUnitTypes.md) of  an [IUnit](com.pnfsoftware.jeb.core.units.IUnit.md) can be retrieved with [IUnit#getFormatType()](IUnit#getFormatType())
return: the common extension, without dot. Empty string if none can be found.

