public class MessageDocumentParser extends Object implements DocumentParser
| Constructor and Description |
|---|
MessageDocumentParser(Serializer serializer) |
| Modifier and Type | Method and Description |
|---|---|
net.morimekta.providence.model.ThriftDocument |
parse(InputStream in,
String name)
Parse input stream to document declaration model.
|
public MessageDocumentParser(Serializer serializer)
public net.morimekta.providence.model.ThriftDocument parse(InputStream in, String name) throws IOException, ParseException
DocumentParserparse in interface DocumentParserin - The stream to parse.name - The file name that is being parsed.IOException - When the stream was unreadable.ParseException - When the document could not be parsed.Copyright © 2015–2016 morimekta.net. All rights reserved.