public interface Parser
| Modifier and Type | Method and Description |
|---|---|
ThriftDocument |
parse(InputStream in,
String name)
Parse input stream to document declaration model.
|
ThriftDocument parse(InputStream in, String name) throws IOException, ParseException
in - The stream to parse.IOException - When the stream was unreadable.ParseExceptionCopyright © 2016. All rights reserved.