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,
java.lang.String altUnits,
PointFeature pf) |
static PointStreamProto.StationList |
encodeStations(java.util.List<Station> stnList) |
static PointStream.MessageType |
readMagic(java.io.InputStream is) |
static int |
write(java.io.OutputStream out,
PointFeatureIterator pointFeatIter,
java.lang.String name,
java.lang.String timeUnitString,
java.lang.String altUnits) |
static int |
write(PointFeatureCollection pointFeatCol,
java.io.File outFile) |
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, java.lang.String altUnits, 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)
public static int write(PointFeatureCollection pointFeatCol, java.io.File outFile) throws java.io.IOException
java.io.IOException
public static int write(java.io.OutputStream out, PointFeatureIterator pointFeatIter, java.lang.String name, java.lang.String timeUnitString, java.lang.String altUnits) throws java.io.IOException
java.io.IOException