public class MessageProgramParser extends Object implements ProgramParser
| Constructor and Description |
|---|
MessageProgramParser(Serializer serializer) |
| Modifier and Type | Method and Description |
|---|---|
net.morimekta.providence.model.ProgramType |
parse(InputStream in,
File file,
Collection<File> includeDirs)
Parse input stream to document declaration model.
|
public MessageProgramParser(Serializer serializer)
public net.morimekta.providence.model.ProgramType parse(InputStream in, File file, Collection<File> includeDirs) throws IOException, ParseException
ProgramParserparse in interface ProgramParserin - The stream to parse.file - The file that is being parsed.IOException - When the stream was unreadable.ParseException - When the document could not be parsed.Copyright © 2015–2017 morimekta.net. All rights reserved.