| Constructor and Description |
|---|
MessageParser(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 MessageParser(Serializer serializer)
public net.morimekta.providence.model.ThriftDocument parse(InputStream in, String name) throws IOException, ParseException
Parserparse in interface Parserin - 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 © 2016. All rights reserved.