public class MessageStreamParser extends Object
Constructor and Description |
---|
MessageStreamParser(File file)
Uses the charset encoding specified in the file's Gettext header.
|
MessageStreamParser(InputStream inputStream)
Uses the charset encoding specified in the stream's Gettext header.
|
MessageStreamParser(InputStream inputStream,
Charset charset) |
MessageStreamParser(Reader reader) |
public MessageStreamParser(File file) throws FileNotFoundException, IOException
file
- FileNotFoundException
IOException
public MessageStreamParser(Reader reader)
public MessageStreamParser(InputStream inputStream) throws IOException
inputStream
- IOException
public MessageStreamParser(InputStream inputStream, Charset charset)
public boolean hasNext()
public Message next() throws ParseException
ParseException
Copyright © 2007–2016 JBoss, a division of Red Hat, Inc. All rights reserved.