Difference between revisions of "Parse"
From CCIL
(→API) |
|||
Line 15: | Line 15: | ||
|- | |- | ||
| Title | | Title | ||
− | | | + | | Parser.TITLE |
− | |The title of the media. | + | | The title of the media. |
|- | |- | ||
| Content | | Content | ||
− | | | + | | Parser.CONTENT |
| The textual body of the media. | | The textual body of the media. | ||
|} | |} |
Revision as of 07:53, 14 May 2017
About
This component covers the ability of CCIL to read and basically understand various formats of inbound media. The API is extendable, so far the supported formats are:
- Plain Text
API
The central point is the Parser interface. Its main purpose is to decompose an InputStream to the features it contains.
The API implements the following ones:
Title | Parser.TITLE | The title of the media. |
Content | Parser.CONTENT | The textual body of the media. |