枚举的使用
net.sf.marineapi.nmea.sentence.TalkerId
使用TalkerId的程序包
程序包
说明
NMEA 0183 sentence parsers.
NMEA 0183 sentence interfaces for supported sentences.
-
net.sf.marineapi.nmea.parser中TalkerId的使用
参数类型为TalkerId的net.sf.marineapi.nmea.parser中的方法修饰符和类型方法说明SentenceFactory.createParser(TalkerId talker, String type) Creates a parser for specified talker and sentence type.SentenceFactory.createParser(TalkerId talker, SentenceId type) Creates a parser for specified talker and sentence type.final voidSentenceParser.setTalkerId(TalkerId id) 参数类型为TalkerId的net.sf.marineapi.nmea.parser中的构造器限定符构造器说明protectedPositionParser(TalkerId talker, SentenceId type, int size) Constructor for empty sentence.protectedSentenceParser(char begin, TalkerId talker, String type, int size) Creates a new empty sentence with specified begin char, talker id, sentence id and number of fields.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.protectedSentenceParser(TalkerId talker, String type, int size) Creates a new empty sentence with specified talker and sentence IDs. -
net.sf.marineapi.nmea.sentence中TalkerId的使用
修饰符和类型方法说明Sentence.getTalkerId()Gets the talker ID of the sentence.static TalkerIdParses the Talker ID from specified sentence String and returns the corresponding TalkerId enum using theEnum.valueOf(Class, String)method.static TalkerId返回带有指定名称的该类型的枚举常量。static TalkerId[]TalkerId.values()按照声明该枚举类型的常量的顺序, 返回一个包含这些常量的数组。参数类型为TalkerId的net.sf.marineapi.nmea.sentence中的方法