public enum ResolverType extends Enum<ResolverType>
Enum Constant and Description |
---|
RESOLVER_BCAST
NETBIOS broadcast
|
RESOLVER_DNS
DNS
|
RESOLVER_LMHOSTS
LMHosts file lookup
|
RESOLVER_WINS
Resolve using WINS server
|
Modifier and Type | Method and Description |
---|---|
static ResolverType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResolverType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResolverType RESOLVER_WINS
public static final ResolverType RESOLVER_BCAST
public static final ResolverType RESOLVER_DNS
public static final ResolverType RESOLVER_LMHOSTS
public static ResolverType[] values()
for (ResolverType c : ResolverType.values()) System.out.println(c);
public static ResolverType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2017. All rights reserved.