public class PointStream
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
PointStream.MessageType |
Constructor and Description |
---|
PointStream() |
Modifier and Type | Method and Description |
---|---|
static PointStreamProto.PointFeature |
encodePointFeature(PointFeature pf) |
static PointStreamProto.PointFeatureCollection |
encodePointFeatureCollection(java.lang.String name,
java.lang.String timeUnitString,
PointFeature pf) |
static PointStreamProto.StationList |
encodeStations(java.util.List<Station> stnList) |
static PointStream.MessageType |
readMagic(java.io.InputStream is) |
static int |
writeMagic(java.io.OutputStream out,
PointStream.MessageType type) |
public static PointStream.MessageType readMagic(java.io.InputStream is) throws java.io.IOException
java.io.IOException
public static int writeMagic(java.io.OutputStream out, PointStream.MessageType type) throws java.io.IOException
java.io.IOException
public static PointStreamProto.PointFeatureCollection encodePointFeatureCollection(java.lang.String name, java.lang.String timeUnitString, PointFeature pf) throws java.io.IOException
java.io.IOException
public static PointStreamProto.PointFeature encodePointFeature(PointFeature pf) throws java.io.IOException
java.io.IOException
public static PointStreamProto.StationList encodeStations(java.util.List<Station> stnList) throws java.io.IOException
java.io.IOException