|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface DataParser
Basic interface for all data parsers.
The core method isparse. It takes list of objects, treats them in some predifined way
and the returns Catalog object. This data is used then to build final catalog, each line from this
Catalog beeing added to the lines of final catalog with the same identifier. Thus all parsers should
use the same identifier to indicate they are returning the same line of catalog data.
| Method Summary | |
|---|---|
java.lang.String |
getName()
Returns describtion of this data parser used by JCatalog engine to inform user about loaded parsers. |
Catalog |
parse(java.util.List objects)
Returns catalog obtained from the given list of objects. |
| Method Detail |
|---|
java.lang.String getName()
Catalog parse(java.util.List objects)
throws ParserException
objects - List of objects to be parsed in order to build catalog data
ParserException - If any internal parsing error occures
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||