Difference between revisions of "Parse"
From CCIL
(Created page with "This component covers the ability of CCIL to read and basically understand various formats of inbound media.") |
|||
Line 1: | Line 1: | ||
− | This component covers the ability of CCIL to read and basically understand various formats of inbound media. | + | == 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 | ||
+ | * PDF | ||
+ | |||
+ | == API == | ||
+ | The central point is the Parser interface. Its main purpose is to decompose an [https://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html InputStream] to the features it contains. | ||
+ | |||
+ | The API implements the following ones: | ||
+ | {| | ||
+ | |+ Name | ||
+ | |+ Constant | ||
+ | |+ Description | ||
+ | |- | ||
+ | | Title | ||
+ | | | ||
+ | |The title of the media. | ||
+ | |- | ||
+ | | Content | ||
+ | | | ||
+ | | The textual body of the media. | ||
+ | |} |
Revision as of 07:42, 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 | The title of the media. | |
Content | The textual body of the media. |