public class PointStream extends 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(String name,
String timeUnitString,
String altUnits,
PointFeature pf) |
static PointStreamProto.StationList |
encodeStations(List<Station> stnList) |
static PointStream.MessageType |
readMagic(InputStream is) |
static int |
write(OutputStream out,
PointFeatureIterator pointFeatIter,
String name,
String timeUnitString,
String altUnits) |
static int |
write(PointFeatureCollection pointFeatCol,
File outFile) |
static int |
writeMagic(OutputStream out,
PointStream.MessageType type) |
public static PointStream.MessageType readMagic(InputStream is) throws IOException
IOExceptionpublic static int writeMagic(OutputStream out, PointStream.MessageType type) throws IOException
IOExceptionpublic static PointStreamProto.PointFeatureCollection encodePointFeatureCollection(String name, String timeUnitString, String altUnits, PointFeature pf) throws IOException
IOExceptionpublic static PointStreamProto.PointFeature encodePointFeature(PointFeature pf) throws IOException
IOExceptionpublic static PointStreamProto.StationList encodeStations(List<Station> stnList)
public static int write(PointFeatureCollection pointFeatCol, File outFile) throws IOException
IOExceptionpublic static int write(OutputStream out, PointFeatureIterator pointFeatIter, String name, String timeUnitString, String altUnits) throws IOException
IOException