public static enum ServiceInfo.Fields extends Enum<ServiceInfo.Fields>
Enum Constant and Description |
---|
Application
Application Field.
|
Domain
Domain Field.
|
Instance
Instance Field.
|
Protocol
Protocol Field.
|
Subtype
Subtype Field.
|
Modifier and Type | Method and Description |
---|---|
static ServiceInfo.Fields |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServiceInfo.Fields[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServiceInfo.Fields Domain
public static final ServiceInfo.Fields Protocol
public static final ServiceInfo.Fields Application
public static final ServiceInfo.Fields Instance
public static final ServiceInfo.Fields Subtype
public static ServiceInfo.Fields[] values()
for (ServiceInfo.Fields c : ServiceInfo.Fields.values()) System.out.println(c);
public static ServiceInfo.Fields 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 © 2002–2019 JmDNS. All rights reserved.