public static enum AisPacketTags.SourceType extends Enum<AisPacketTags.SourceType>
| Enum Constant and Description |
|---|
SATELLITE
Satellite source type.
|
TERRESTRIAL
Terrestrial source type.
|
| Modifier and Type | Method and Description |
|---|---|
String |
encode()
Encode string.
|
static AisPacketTags.SourceType |
fromString(String st)
From string source type.
|
static AisPacketTags.SourceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AisPacketTags.SourceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AisPacketTags.SourceType TERRESTRIAL
public static final AisPacketTags.SourceType SATELLITE
public static AisPacketTags.SourceType[] values()
for (AisPacketTags.SourceType c : AisPacketTags.SourceType.values()) System.out.println(c);
public static AisPacketTags.SourceType 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 nullpublic static AisPacketTags.SourceType fromString(String st)
st - the stpublic String encode()
Copyright © 2011–2019 Danish Maritime Authority. All rights reserved.