public class ModuleType extends Object
Modifier and Type | Field and Description |
---|---|
static ModuleType |
CAR
The module type for an CAR
|
static ModuleType |
EAR
The module type for an EAR
|
static ModuleType |
EJB
The module type for an EJB
|
static ModuleType |
RAR
The module type for an RAR
|
static ModuleType |
WAR
The module type for an WAR
|
Modifier | Constructor and Description |
---|---|
protected |
ModuleType(int value)
Create a new ModuleType
|
Modifier and Type | Method and Description |
---|---|
protected ModuleType[] |
getEnumValueTable()
Get the enumerated values for module type
|
String |
getModuleExtension()
Get the file extension for this module
|
static ModuleType |
getModuleType(int type)
Get the module type for an integer
|
protected int |
getOffset()
Return the offset of the first element
|
protected String[] |
getStringTable()
Get the string table for class module type.
|
int |
getValue()
Get the value
|
String |
toString() |
public static final ModuleType EAR
public static final ModuleType EJB
public static final ModuleType CAR
public static final ModuleType RAR
public static final ModuleType WAR
protected ModuleType(int value)
value
- the valuepublic int getValue()
protected String[] getStringTable()
protected ModuleType[] getEnumValueTable()
public String getModuleExtension()
public static ModuleType getModuleType(int type)
type
- the typepublic String toString()
protected int getOffset()
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.