public class CatalogLexer extends Object implements antlr.TokenStream, CatalogTokenTypes
CATALOG, COMMENT, DOMAIN, EOF, EXTRACTION, FLAG, MESSAGE, MSGCTXT, MSGID, MSGID_PLURAL, MSGSTR, MSGSTR_PLURAL, NULL_TREE_LOOKAHEAD, OBSOLETE, PLURALITY, PREV_MSGCTXT, PREV_MSGID, PREV_MSGID_PLURAL, REFERENCE
Constructor and Description |
---|
CatalogLexer(File file)
Uses the charset encoding specified in the file's Gettext header.
|
CatalogLexer(InputStream inputStream)
Uses the charset encoding specified in the stream's Gettext header.
|
CatalogLexer(InputStream inputStream,
Charset charset) |
CatalogLexer(Reader reader) |
Modifier and Type | Method and Description |
---|---|
antlr.Token |
nextToken()
This is the main Antlr lexer contract.
|
public CatalogLexer(File file) throws FileNotFoundException, IOException
file
- FileNotFoundException
IOException
public CatalogLexer(Reader reader)
public CatalogLexer(InputStream inputStream) throws IOException
inputStream
- IOException
public CatalogLexer(InputStream inputStream, Charset charset)
Copyright © 2007–2016 JBoss, a division of Red Hat, Inc. All rights reserved.