public class LexicalAnalyzerSelector extends Object
XmlLexicalAnalyzer or KvnLexicalAnalyzer depending on
data first bytes.| Modifier and Type | Method and Description |
|---|---|
static LexicalAnalyzer |
select(DataSource source)
Select a
LexicalAnalyzer for a DataSource based on content. |
public static LexicalAnalyzer select(DataSource source) throws IOException
LexicalAnalyzer for a DataSource based on content.source - data source to analyzeIOException - if first bytes of source cannot be readCopyright © 2002-2021 CS GROUP. All rights reserved.