@FunctionalInterface public interface DocumentParser
| Modifier and Type | Method and Description |
|---|---|
net.morimekta.providence.model.ThriftDocument |
parse(InputStream in,
String name)
Parse input stream to document declaration model.
|
net.morimekta.providence.model.ThriftDocument parse(InputStream in, String name) throws IOException, ParseException
in - 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.