Package ucar.nc2.ft.point.remote
Enum PointStream.MessageType
- java.lang.Object
-
- java.lang.Enum<PointStream.MessageType>
-
- ucar.nc2.ft.point.remote.PointStream.MessageType
-
- All Implemented Interfaces:
Serializable,Comparable<PointStream.MessageType>
- Enclosing class:
- PointStream
public static enum PointStream.MessageType extends Enum<PointStream.MessageType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DataEndEosErrorHeaderPointFeaturePointFeatureCollectionStartStationList
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PointStream.MessageTypevalueOf(String name)Returns the enum constant of this type with the specified name.static PointStream.MessageType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Start
public static final PointStream.MessageType Start
-
Header
public static final PointStream.MessageType Header
-
Data
public static final PointStream.MessageType Data
-
End
public static final PointStream.MessageType End
-
Error
public static final PointStream.MessageType Error
-
Eos
public static final PointStream.MessageType Eos
-
StationList
public static final PointStream.MessageType StationList
-
PointFeatureCollection
public static final PointStream.MessageType PointFeatureCollection
-
PointFeature
public static final PointStream.MessageType PointFeature
-
-
Method Detail
-
values
public static PointStream.MessageType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PointStream.MessageType c : PointStream.MessageType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PointStream.MessageType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-