java.lang.Object |
↳ |
com.pnfsoftware.jeb.core.units.WellKnownUnitTypes |
Class Overview
Well-known binary types for unit identifiers
. 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
.
- 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
should be treated as decompilers by
front-end clients.
Types starting with the prefix pfxTypeDebugger
should be treated as debuggers by
front-end clients.
Summary
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
Constants
public
static
final
String
genDecompiler
Constant Value:
"code_dcmp"
public
static
final
String
genDisassembler
Constant Value:
"code_disa"
public
static
final
String
pfxTypeDebugger
special prefix-type used by debugger plugins
Constant Value:
"dbug_"
public
static
final
String
pfxTypeDecompiler
special prefix-type used by decompiler plugins
Constant Value:
"dcmp_"
public
static
final
String
pseudotypeImage
Generic Image format (jpg, png, bmp...)
Constant Value:
"image"
public
static
final
String
typeARM
public
static
final
String
typeARM64
public
static
final
String
typeAndroidApk
public
static
final
String
typeAndroidArt
public
static
final
String
typeAndroidCompactDex
public
static
final
String
typeAndroidDex
public
static
final
String
typeAndroidOat
public
static
final
String
typeAndroidOptimizedDex
public
static
final
String
typeAndroidResources
public
static
final
String
typeAndroidVdex
public
static
final
String
typeAndroidXApk
public
static
final
String
typeAppleMacho
public
static
final
String
typeAppleMachoFat
Constant Value:
"machofat"
public
static
final
String
typeArArchive
public
static
final
String
typeAtmelAVR
public
static
final
String
typeBinary
public
static
final
String
typeC
public
static
final
String
typeCertificate
public
static
final
String
typeChromeCrx
public
static
final
String
typeComposite
Constant Value:
"composite"
public
static
final
String
typeCpp
public
static
final
String
typeEthereumBytecode
public
static
final
String
typeEthereumContract
public
static
final
String
typeGeneric
Constant Value:
"generic"
public
static
final
String
typeGzip
public
static
final
String
typeHtml
public
static
final
String
typeIntelHEX
public
static
final
String
typeIntelX86
public
static
final
String
typeIntelX86_64
public
static
final
String
typeJava
public
static
final
String
typeJavaArchive
public
static
final
String
typeJavaClassfile
Constant Value:
"javaclass"
public
static
final
String
typeJavaScript
Constant Value:
"javascript"
public
static
final
String
typeJson
public
static
final
String
typeLLVMBitcode
public
static
final
String
typeLinuxElf
public
static
final
String
typeMIPS
public
static
final
String
typeMIPS64
public
static
final
String
typeMicrosoftExcel
public
static
final
String
typeMicrosoftExcelOpenXML
public
static
final
String
typeMicrosoftOle
public
static
final
String
typeMicrosoftOutlook
Constant Value:
"msoutlook"
public
static
final
String
typeMicrosoftPowerpoint
public
static
final
String
typeMicrosoftPowerpointOpenXML
public
static
final
String
typeMicrosoftThumbs
Constant Value:
"msthumbs"
public
static
final
String
typeMicrosoftWord
public
static
final
String
typeMicrosoftWordOpenXML
public
static
final
String
typePdf
public
static
final
String
typePython
public
static
final
String
typeRarArchive
public
static
final
String
typeRiscV
public
static
final
String
typeSevenzipArchive
Constant Value:
"sevenzip"
public
static
final
String
typeStream
public
static
final
String
typeTar
public
static
final
String
typeText
public
static
final
String
typeVBScript
Constant Value:
"vbscript"
public
static
final
String
typeWebassemblyBytecode
public
static
final
String
typeWebassemblyModule
public
static
final
String
typeWinCoff
Constant Value:
"wincoff"
public
static
final
String
typeWinPe
public
static
final
String
typeXml
public
static
final
String
typeZipArchive
Public Constructors
public
WellKnownUnitTypes
()
Public Methods
public
static
String
fromMimeType
(String mimeType)
Parameters
mimeType |
mime type. See MimeType for well known mime types |
public
static
boolean
isNativeCode
(String formatType)
public
static
String
toCommonExtension
(String formatType)
Returns
- the common extension, without dot. Empty string if none can be found.