Interface Parser

All Known Implementing Classes:
AmpParser, AtomParser, FeedParser, HTMLMetadataParser, OEmbedJSONParser, RSSParser, TwitterAPIParser, UniversalParser

public interface Parser
A resource parser.
Author:
Matt Hamer
  • Method Details

    • parse

      ParseResult parse(String content, String sourceLink, ContentCleaner contentCleaner)
      Parse content.
      Parameters:
      content - The content as a string.
      sourceLink - The link for the content, if available.
      contentCleaner - The content cleaner.
      Returns:
      The result.
    • name

      String name()
      The name of the parser.
      Returns:
      The name.