Class KvnLexicalAnalyzer
- java.lang.Object
-
- org.orekit.files.ccsds.utils.lexical.KvnLexicalAnalyzer
-
- All Implemented Interfaces:
LexicalAnalyzer
public class KvnLexicalAnalyzer extends Object implements LexicalAnalyzer
Lexical analyzer for Key-Value Notation CCSDS messages.- Since:
- 11.0
- Author:
- Luc Maisonobe
-
-
Constructor Summary
Constructors Constructor Description KvnLexicalAnalyzer(DataSource source)
Simple constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> T
accept(MessageParser<T> messageParser)
Parse a CCSDS Message.
-
-
-
Constructor Detail
-
KvnLexicalAnalyzer
public KvnLexicalAnalyzer(DataSource source)
Simple constructor.- Parameters:
source
- source providing the data to parse
-
-
Method Detail
-
accept
public <T> T accept(MessageParser<T> messageParser)
Parse a CCSDS Message.- Specified by:
accept
in interfaceLexicalAnalyzer
- Type Parameters:
T
- type of the file- Parameters:
messageParser
- CCSDS Message parser to use- Returns:
- parsed fileO
-
-