Class FeedReaderFactory

java.lang.Object
com.yahoo.vespa.http.server.FeedReaderFactory

public class FeedReaderFactory extends Object
Class for creating FeedReader based on dataFormat.
Author:
dybis
  • Constructor Details

    • FeedReaderFactory

      public FeedReaderFactory(boolean debug)
  • Method Details

    • createReader

      public com.yahoo.vespaxmlparser.FeedReader createReader(InputStream inputStream, com.yahoo.document.DocumentTypeManager docTypeManager, FeedParams.DataFormat dataFormat)
      Creates FeedReader
      Parameters:
      inputStream - source of feed data
      docTypeManager - handles the parsing of the document
      dataFormat - specifies the format
      Returns:
      a feedreader