ucar.nc2.ft.point.remote
Class PointStream
java.lang.Object
ucar.nc2.ft.point.remote.PointStream
public class PointStream
- extends Object
Defines the point stream format, along with pointStream.proto.
cd c:/dev/tds4.2/thredds/cdm/src/main/java
protoc --proto_path=. --java_out=. ucar/nc2/ft/point/remote/pointStream.proto
- Since:
- Feb 16, 2009
- Author:
- caron
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PointStream
public PointStream()
readMagic
public static PointStream.MessageType readMagic(InputStream is)
throws IOException
- Throws:
IOException
writeMagic
public static int writeMagic(OutputStream out,
PointStream.MessageType type)
throws IOException
- Throws:
IOException
encodePointFeatureCollection
public static PointStreamProto.PointFeatureCollection encodePointFeatureCollection(String name,
PointFeature pf)
throws IOException
- Throws:
IOException
encodePointFeature
public static PointStreamProto.PointFeature encodePointFeature(PointFeature pf)
throws IOException
- Throws:
IOException
encodeStations
public static PointStreamProto.StationList encodeStations(List<Station> stnList)
throws IOException
- Throws:
IOException
Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.