| Modifier and Type | Field and Description |
|---|---|
static String |
CHARSET_UTF8 |
static org.slf4j.Logger |
LOG |
static String |
TEXT_PLAIN_CONTENT_TYPE |
X_POINT_ID| Constructor and Description |
|---|
FeedParser() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.conf.Configuration |
getConf() |
ParseResult |
getParse(Content content)
Parses the given feed and extracts out and parsers all linked items within
the feed, using the underlying ROME feed parsing library.
|
static void |
main(String[] args)
Runs a command line version of this
Parser. |
void |
setConf(org.apache.hadoop.conf.Configuration conf)
Sets the
Configuration object for this Parser. |
public static final String CHARSET_UTF8
public static final String TEXT_PLAIN_CONTENT_TYPE
public static final org.slf4j.Logger LOG
public ParseResult getParse(Content content)
public void setConf(org.apache.hadoop.conf.Configuration conf)
Configuration object for this Parser. This
Parser expects the following configuration properties to be set:
setConf in interface org.apache.hadoop.conf.Configurableconf - The Hadoop Configuration object to use to configure this
Parser.public org.apache.hadoop.conf.Configuration getConf()
getConf in interface org.apache.hadoop.conf.ConfigurableConfiguration object used to configure this
Parser.Copyright © 2014 The Apache Software Foundation