|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<Resolver.ResolverType>
org.jnetpcap.util.resolver.Resolver.ResolverType
public static enum Resolver.ResolverType
Type of resolver that can be registered with JRegistry. Resolvers job is to convert a binary number to a human readable name associated with it. For example IP resolver will convert ip address to hostnames.
| Enum Constant Summary | |
|---|---|
IEEE_OUI_ADDRESS
Converts MAC addresses to station names when defined |
|
IEEE_OUI_PREFIX
Converts a MAC address manufacturer prefix to a name |
|
IP
Converts Ip version 4 and 6 address to hostnames and constant labels |
|
PORT
Converts TCP and UDP port numbers to application names |
|
| Method Summary | |
|---|---|
Resolver |
getResolver()
|
static Resolver.ResolverType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Resolver.ResolverType[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Resolver.ResolverType IEEE_OUI_ADDRESS
public static final Resolver.ResolverType IEEE_OUI_PREFIX
public static final Resolver.ResolverType IP
public static final Resolver.ResolverType PORT
| Method Detail |
|---|
public static final Resolver.ResolverType[] values()
for(Resolver.ResolverType c : Resolver.ResolverType.values())
System.out.println(c);
public static Resolver.ResolverType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namepublic final Resolver getResolver()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||