Difference between revisions of "Parse"

From CCIL
Jump to: navigation, search
(API)
(API)
Line 22: Line 22:
 
  | The textual body of the media.
 
  | The textual body of the media.
 
  |}
 
  |}
 +
 +
== Services ==
 +
* TikaParserService

Revision as of 09:00, 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
  • PDF

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:

Name Constant Description
Title Parser.TITLE The title of the media.
Content Parser.CONTENT The textual body of the media.

Services

  • TikaParserService