Modifier and Type | Field and Description |
---|---|
protected TEMPLATE |
template
Parser template
|
Constructor and Description |
---|
AbstractTemplateParser() |
Modifier and Type | Method and Description |
---|---|
abstract List<PARSED_OBJECT> |
parse(InputStream inputStream,
Class<PARSED_OBJECT> clazz)
Parse an InputStream as "clazz" object.
|
void |
setTemplate(TEMPLATE template) |
protected TEMPLATE template
public void setTemplate(TEMPLATE template)
template
- template to setpublic abstract List<PARSED_OBJECT> parse(InputStream inputStream, Class<PARSED_OBJECT> clazz)
parse
in interface Parser<PARSED_OBJECT>
inputStream
- input streamclazz
- expected objectCopyright © 2013-2018–2019 SeedStack. All rights reserved.