# Class: com.pnfsoftware.jeb.core.units.WellKnownUnitTypes

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


## Static Field: genDecompiler
Type: `java.lang.String`

Constant value: `code_dcmp`
Description: special pseudo\-type for [decompilers](INativeDecompilerPlugin)

## Static Field: genDisassembler
Type: `java.lang.String`

Constant value: `code_disa`
Description: special pseudo\-type for [disassemblers](INativeDisassemblerPlugin)

## Static Field: pfxTypeDebugger
Type: `java.lang.String`

Constant value: `dbug_`
Description: special prefix\-type used by debugger plugins

## Static Field: pfxTypeDecompiler
Type: `java.lang.String`

Constant value: `dcmp_`
Description: special prefix\-type used by decompiler plugins

## Static Field: pseudotypeImage
Type: `java.lang.String`

Constant value: `image`
Description: Generic Image format \(jpg, png, bmp...\)

## Static Field: typeARM
Type: `java.lang.String`

Constant value: `arm`

## Static Field: typeARM64
Type: `java.lang.String`

Constant value: `arm64`

## Static Field: typeAndroidAar
Type: `java.lang.String`

Constant value: `aar`

## Static Field: typeAndroidApk
Type: `java.lang.String`

Constant value: `apk`

## Static Field: typeAndroidArt
Type: `java.lang.String`

Constant value: `art`

## Static Field: typeAndroidCompactDex
Type: `java.lang.String`

Constant value: `cdex`

## Static Field: typeAndroidDex
Type: `java.lang.String`

Constant value: `dex`

## Static Field: typeAndroidOat
Type: `java.lang.String`

Constant value: `oat`

## Static Field: typeAndroidOptimizedDex
Type: `java.lang.String`

Constant value: `odex`

## Static Field: typeAndroidResources
Type: `java.lang.String`

Constant value: `arsc`

## Static Field: typeAndroidVdex
Type: `java.lang.String`

Constant value: `vdex`

## Static Field: typeAndroidXApk
Type: `java.lang.String`

Constant value: `xapk`

## Static Field: typeAppleMacho
Type: `java.lang.String`

Constant value: `macho`

## Static Field: typeAppleMachoFat
Type: `java.lang.String`

Constant value: `machofat`

## Static Field: typeArArchive
Type: `java.lang.String`

Constant value: `ar`

## Static Field: typeAtmelAVR
Type: `java.lang.String`

Constant value: `avr`

## Static Field: typeBinary
Type: `java.lang.String`

Constant value: `binary`

## Static Field: typeC
Type: `java.lang.String`

Constant value: `c`

## Static Field: typeCART
Type: `java.lang.String`

Constant value: `cart`

## Static Field: typeCertificate
Type: `java.lang.String`

Constant value: `cert`

## Static Field: typeChromeCrx
Type: `java.lang.String`

Constant value: `crx`

## Static Field: typeComposite
Type: `java.lang.String`

Constant value: `composite`

## Static Field: typeCpp
Type: `java.lang.String`

Constant value: `cpp`

## Static Field: typeEthereumBytecode
Type: `java.lang.String`

Constant value: `evmbc`

## Static Field: typeEthereumContract
Type: `java.lang.String`

Constant value: `eth`

## Static Field: typeGeneric
Type: `java.lang.String`

Constant value: `generic`

## Static Field: typeGzip
Type: `java.lang.String`

Constant value: `gzip`

## Static Field: typeHtml
Type: `java.lang.String`

Constant value: `html`

## Static Field: typeIntelHEX
Type: `java.lang.String`

Constant value: `ihex`

## Static Field: typeIntelX86
Type: `java.lang.String`

Constant value: `x86`

## Static Field: typeIntelX86_64
Type: `java.lang.String`

Constant value: `x86_64`

## Static Field: typeJava
Type: `java.lang.String`

Constant value: `java`

## Static Field: typeJavaArchive
Type: `java.lang.String`

Constant value: `jar`

## Static Field: typeJavaClassfile
Type: `java.lang.String`

Constant value: `javaclass`

## Static Field: typeJavaScript
Type: `java.lang.String`

Constant value: `javascript`

## Static Field: typeJson
Type: `java.lang.String`

Constant value: `json`

## Static Field: typeLLVMBitcode
Type: `java.lang.String`

Constant value: `llvmbc`

## Static Field: typeLinuxElf
Type: `java.lang.String`

Constant value: `elf`

## Static Field: typeMIPS
Type: `java.lang.String`

Constant value: `mips`

## Static Field: typeMIPS64
Type: `java.lang.String`

Constant value: `mips64`

## Static Field: typeMicrosoftExcel
Type: `java.lang.String`

Constant value: `msxls`

## Static Field: typeMicrosoftExcelOpenXML
Type: `java.lang.String`

Constant value: `msxlsx`

## Static Field: typeMicrosoftOle
Type: `java.lang.String`

Constant value: `ole`

## Static Field: typeMicrosoftOutlook
Type: `java.lang.String`

Constant value: `msoutlook`

## Static Field: typeMicrosoftPowerpoint
Type: `java.lang.String`

Constant value: `msppt`

## Static Field: typeMicrosoftPowerpointOpenXML
Type: `java.lang.String`

Constant value: `mspptx`

## Static Field: typeMicrosoftThumbs
Type: `java.lang.String`

Constant value: `msthumbs`

## Static Field: typeMicrosoftWord
Type: `java.lang.String`

Constant value: `msdoc`

## Static Field: typeMicrosoftWordOpenXML
Type: `java.lang.String`

Constant value: `msdocx`

## Static Field: typePdf
Type: `java.lang.String`

Constant value: `pdf`

## Static Field: typePython
Type: `java.lang.String`

Constant value: `python`

## Static Field: typeRarArchive
Type: `java.lang.String`

Constant value: `rar`

## Static Field: typeRiscV
Type: `java.lang.String`

Constant value: `riscv`

## Static Field: typeSevenzipArchive
Type: `java.lang.String`

Constant value: `sevenzip`

## Static Field: typeStream
Type: `java.lang.String`

Constant value: `stream`

## Static Field: typeSvg
Type: `java.lang.String`

Constant value: `svg`

## Static Field: typeTar
Type: `java.lang.String`

Constant value: `tar`

## Static Field: typeText
Type: `java.lang.String`

Constant value: `text`

## Static Field: typeVBScript
Type: `java.lang.String`

Constant value: `vbscript`

## Static Field: typeWebassemblyBytecode
Type: `java.lang.String`

Constant value: `wasmbc`

## Static Field: typeWebassemblyModule
Type: `java.lang.String`

Constant value: `wasm`

## Static Field: typeWinCoff
Type: `java.lang.String`

Constant value: `wincoff`

## Static Field: typeWinPe
Type: `java.lang.String`

Constant value: `winpe`

## Static Field: typeXml
Type: `java.lang.String`

Constant value: `xml`

## Static 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](MimeType) to a [WellKnownUnitTypes](WellKnownUnitTypes).
parameter: mimeType: mime type. See [MimeType](MimeType) for well known mime types
return: the related [WellKnownUnitTypes](WellKnownUnitTypes) 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](WellKnownUnitTypes) to the common extension. A [WellKnownUnitTypes](WellKnownUnitTypes) of an [IUnit](IUnit) can be retrieved with [IUnit#getFormatType()](IUnit#getFormatType())
return: the common extension, without dot. Empty string if none can be found.

