枚举的使用
net.sf.marineapi.nmea.sentence.SentenceId
使用SentenceId的程序包
程序包
说明
NMEA 0183 input/output.
NMEA 0183 sentence parsers.
NMEA 0183 sentence interfaces for supported sentences.
Higher-level APIs that provide data updates for selected measurements.
-
net.sf.marineapi.nmea.io中SentenceId的使用
参数类型为SentenceId的net.sf.marineapi.nmea.io中的方法修饰符和类型方法说明voidSentenceReader.addSentenceListener(SentenceListener sl, SentenceId type) Adds aSentenceListenerto receive sentences of specified type.voidSentenceReader.removeSentenceListener(SentenceListener listener, SentenceId sid) Removes the sentence listener for specified sentence type. -
net.sf.marineapi.nmea.parser中SentenceId的使用
参数类型为SentenceId的net.sf.marineapi.nmea.parser中的方法修饰符和类型方法说明SentenceFactory.createParser(TalkerId talker, SentenceId type) Creates a parser for specified talker and sentence type.参数类型为SentenceId的net.sf.marineapi.nmea.parser中的构造器限定符构造器说明protectedPositionParser(String nmea, SentenceId type) Constructor.protectedPositionParser(TalkerId talker, SentenceId type, int size) Constructor for empty sentence.protectedSentenceParser(char begin, TalkerId tid, SentenceId sid, int size) Creates a new empty sentence with specified begin char, talker id, sentence id and number of fields. -
net.sf.marineapi.nmea.sentence中SentenceId的使用
修饰符和类型方法说明static SentenceIdParses the sentence id from specified sentence String and returns a correspondingSentenceIdenum (assuming it exists).static SentenceId返回带有指定名称的该类型的枚举常量。static SentenceId[]SentenceId.values()按照声明该枚举类型的常量的顺序, 返回一个包含这些常量的数组。 -
net.sf.marineapi.provider中SentenceId的使用
参数类型为SentenceId的net.sf.marineapi.provider中的构造器限定符构造器说明AbstractProvider(SentenceReader reader, SentenceId... ids) Creates a new instance of AbstractProvider.