com.sun.syndication.io.WireFeedInput.build()方法的使用及代码示例

x33g5p2x  于2022-02-03 转载在 其他  
字(10.8k)|赞(0)|评价(0)|浏览(91)

本文整理了Java中com.sun.syndication.io.WireFeedInput.build()方法的一些代码示例,展示了WireFeedInput.build()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。WireFeedInput.build()方法的具体详情如下:
包路径:com.sun.syndication.io.WireFeedInput
类名称:WireFeedInput
方法名:build

WireFeedInput.build介绍

[英]Builds an WireFeed (RSS or Atom) from a file.

NOTE: This method delages to the 'AsbtractFeed WireFeedInput#build(org.jdom2.Document)'.
[中]从文件构建WireFeed(RSS或Atom)。
注:此方法涉及“AsbtractFeed WireFeedInput”构建(org.jdom2.Document)”。

代码示例

代码示例来源:origin: rome/rome

/**
 * Builds SyndFeedImpl from an JDOM document.
 * <p>
 * @param document JDOM document to read to create the SyndFeedImpl.
 * @return the SyndFeedImpl read from the JDOM document.
 * @throws IllegalArgumentException thrown if feed type could not be understood by any of the underlying parsers.
 * @throws FeedException if the feed could not be parsed
 *
 */
public SyndFeed build(Document document) throws IllegalArgumentException,FeedException {
  return new SyndFeedImpl(_feedInput.build(document), preserveWireFeed);
}

代码示例来源:origin: rome/rome

/**
 * Builds SyndFeedImpl from an W3C SAX InputSource.
 * <p>
 * @param is W3C SAX InputSource to read to create the SyndFeedImpl.
 * @return the SyndFeedImpl read from the W3C SAX InputSource.
 * @throws IllegalArgumentException thrown if feed type could not be understood by any of the underlying parsers.
 * @throws FeedException if the feed could not be parsed
 *
 */
public SyndFeed build(InputSource is) throws IllegalArgumentException,FeedException {
  return new SyndFeedImpl(_feedInput.build(is), preserveWireFeed);
}

代码示例来源:origin: rome/rome

/**
 * Builds SyndFeedImpl from an Reader.
 * <p>
 * @param reader Reader to read to create the SyndFeedImpl.
 * @return the SyndFeedImpl read from the Reader.
 * @throws IllegalArgumentException thrown if feed type could not be understood by any of the underlying parsers.
 * @throws FeedException if the feed could not be parsed
 *
 */
public SyndFeed build(Reader reader) throws IllegalArgumentException,FeedException {
  return new SyndFeedImpl(_feedInput.build(reader), preserveWireFeed);
}

代码示例来源:origin: rome/rome

/**
 * Builds SyndFeedImpl from an W3C DOM document.
 * <p>
 * @param document W3C DOM document to read to create the SyndFeedImpl.
 * @return the SyndFeedImpl read from the W3C DOM document.
 * @throws IllegalArgumentException thrown if feed type could not be understood by any of the underlying parsers.
 * @throws FeedException if the feed could not be parsed
 *
 */
public SyndFeed build(org.w3c.dom.Document document) throws IllegalArgumentException,FeedException {
  return new SyndFeedImpl(_feedInput.build(document), preserveWireFeed);
}

代码示例来源:origin: com.sun.syndication/com.springsource.com.sun.syndication

/**
 * Builds SyndFeedImpl from an Reader.
 * <p>
 * @param reader Reader to read to create the SyndFeedImpl.
 * @return the SyndFeedImpl read from the Reader.
 * @throws IllegalArgumentException thrown if feed type could not be understood by any of the underlying parsers.
 * @throws FeedException if the feed could not be parsed
 *
 */
public SyndFeed build(Reader reader) throws IllegalArgumentException,FeedException {
  return new SyndFeedImpl(_feedInput.build(reader), preserveWireFeed);
}

代码示例来源:origin: com.sun.syndication/com.springsource.com.sun.syndication

/**
 * Builds SyndFeedImpl from an W3C SAX InputSource.
 * <p>
 * @param is W3C SAX InputSource to read to create the SyndFeedImpl.
 * @return the SyndFeedImpl read from the W3C SAX InputSource.
 * @throws IllegalArgumentException thrown if feed type could not be understood by any of the underlying parsers.
 * @throws FeedException if the feed could not be parsed
 *
 */
public SyndFeed build(InputSource is) throws IllegalArgumentException,FeedException {
  return new SyndFeedImpl(_feedInput.build(is), preserveWireFeed);
}

代码示例来源:origin: org.apache.marmotta/sesame-tools-rio-rss

/**
 * Builds SyndFeedImpl from an W3C SAX InputSource.
 * <p>
 * @param is W3C SAX InputSource to read to create the SyndFeedImpl.
 * @return the SyndFeedImpl read from the W3C SAX InputSource.
 * @throws IllegalArgumentException thrown if feed type could not be understood by any of the underlying parsers.
 * @throws FeedException if the feed could not be parsed
 *
 */
public SyndFeed build(InputSource is) throws IllegalArgumentException,FeedException {
  return new SyndFeedImpl(_feedInput.build(is), preserveWireFeed);
}

代码示例来源:origin: org.apache.marmotta/sesame-tools-rio-rss

/**
 * Builds SyndFeedImpl from an JDOM document.
 * <p>
 * @param document JDOM document to read to create the SyndFeedImpl.
 * @return the SyndFeedImpl read from the JDOM document.
 * @throws IllegalArgumentException thrown if feed type could not be understood by any of the underlying parsers.
 * @throws FeedException if the feed could not be parsed
 *
 */
public SyndFeed build(Document document) throws IllegalArgumentException,FeedException {
  return new SyndFeedImpl(_feedInput.build(document), preserveWireFeed);
}

代码示例来源:origin: com.sun.syndication/com.springsource.com.sun.syndication

/**
 * Builds SyndFeedImpl from an JDOM document.
 * <p>
 * @param document JDOM document to read to create the SyndFeedImpl.
 * @return the SyndFeedImpl read from the JDOM document.
 * @throws IllegalArgumentException thrown if feed type could not be understood by any of the underlying parsers.
 * @throws FeedException if the feed could not be parsed
 *
 */
public SyndFeed build(Document document) throws IllegalArgumentException,FeedException {
  return new SyndFeedImpl(_feedInput.build(document), preserveWireFeed);
}

代码示例来源:origin: org.apache.marmotta/sesame-tools-rio-rss

/**
 * Builds SyndFeedImpl from an Reader.
 * <p>
 * @param reader Reader to read to create the SyndFeedImpl.
 * @return the SyndFeedImpl read from the Reader.
 * @throws IllegalArgumentException thrown if feed type could not be understood by any of the underlying parsers.
 * @throws FeedException if the feed could not be parsed
 *
 */
public SyndFeed build(Reader reader) throws IllegalArgumentException,FeedException {
  return new SyndFeedImpl(_feedInput.build(reader), preserveWireFeed);
}

代码示例来源:origin: org.apache.marmotta/sesame-tools-rio-rss

/**
 * Builds SyndFeedImpl from an W3C DOM document.
 * <p>
 * @param document W3C DOM document to read to create the SyndFeedImpl.
 * @return the SyndFeedImpl read from the W3C DOM document.
 * @throws IllegalArgumentException thrown if feed type could not be understood by any of the underlying parsers.
 * @throws FeedException if the feed could not be parsed
 *
 */
public SyndFeed build(org.w3c.dom.Document document) throws IllegalArgumentException,FeedException {
  return new SyndFeedImpl(_feedInput.build(document), preserveWireFeed);
}

代码示例来源:origin: com.sun.syndication/com.springsource.com.sun.syndication

/**
 * Builds SyndFeedImpl from an W3C DOM document.
 * <p>
 * @param document W3C DOM document to read to create the SyndFeedImpl.
 * @return the SyndFeedImpl read from the W3C DOM document.
 * @throws IllegalArgumentException thrown if feed type could not be understood by any of the underlying parsers.
 * @throws FeedException if the feed could not be parsed
 *
 */
public SyndFeed build(org.w3c.dom.Document document) throws IllegalArgumentException,FeedException {
  return new SyndFeedImpl(_feedInput.build(document), preserveWireFeed);
}

代码示例来源:origin: apache/marmotta

/**
 * Builds SyndFeedImpl from an W3C SAX InputSource.
 * <p>
 * @param is W3C SAX InputSource to read to create the SyndFeedImpl.
 * @return the SyndFeedImpl read from the W3C SAX InputSource.
 * @throws IllegalArgumentException thrown if feed type could not be understood by any of the underlying parsers.
 * @throws FeedException if the feed could not be parsed
 *
 */
public SyndFeed build(InputSource is) throws IllegalArgumentException,FeedException {
  return new SyndFeedImpl(_feedInput.build(is), preserveWireFeed);
}

代码示例来源:origin: apache/marmotta

/**
 * Builds SyndFeedImpl from an Reader.
 * <p>
 * @param reader Reader to read to create the SyndFeedImpl.
 * @return the SyndFeedImpl read from the Reader.
 * @throws IllegalArgumentException thrown if feed type could not be understood by any of the underlying parsers.
 * @throws FeedException if the feed could not be parsed
 *
 */
public SyndFeed build(Reader reader) throws IllegalArgumentException,FeedException {
  return new SyndFeedImpl(_feedInput.build(reader), preserveWireFeed);
}

代码示例来源:origin: apache/marmotta

/**
 * Builds SyndFeedImpl from an W3C DOM document.
 * <p>
 * @param document W3C DOM document to read to create the SyndFeedImpl.
 * @return the SyndFeedImpl read from the W3C DOM document.
 * @throws IllegalArgumentException thrown if feed type could not be understood by any of the underlying parsers.
 * @throws FeedException if the feed could not be parsed
 *
 */
public SyndFeed build(org.w3c.dom.Document document) throws IllegalArgumentException,FeedException {
  return new SyndFeedImpl(_feedInput.build(document), preserveWireFeed);
}

代码示例来源:origin: apache/marmotta

/**
 * Builds SyndFeedImpl from an JDOM document.
 * <p>
 * @param document JDOM document to read to create the SyndFeedImpl.
 * @return the SyndFeedImpl read from the JDOM document.
 * @throws IllegalArgumentException thrown if feed type could not be understood by any of the underlying parsers.
 * @throws FeedException if the feed could not be parsed
 *
 */
public SyndFeed build(Document document) throws IllegalArgumentException,FeedException {
  return new SyndFeedImpl(_feedInput.build(document), preserveWireFeed);
}

代码示例来源:origin: rome/rome

/**
 * Builds SyndFeedImpl from a file.
 * <p>
 * @param file file to read to create the SyndFeedImpl.
 * @return the SyndFeedImpl read from the file.
 * @throws FileNotFoundException thrown if the file could not be found.
 * @throws IOException thrown if there is problem reading the file.
 * @throws IllegalArgumentException thrown if feed type could not be understood by any of the underlying parsers.
 * @throws FeedException if the feed could not be parsed
 *
 */
public SyndFeed build(File file) throws FileNotFoundException,IOException,IllegalArgumentException,FeedException {
  return new SyndFeedImpl(_feedInput.build(file), preserveWireFeed);
}

代码示例来源:origin: com.sun.syndication/com.springsource.com.sun.syndication

/**
 * Builds SyndFeedImpl from a file.
 * <p>
 * @param file file to read to create the SyndFeedImpl.
 * @return the SyndFeedImpl read from the file.
 * @throws FileNotFoundException thrown if the file could not be found.
 * @throws IOException thrown if there is problem reading the file.
 * @throws IllegalArgumentException thrown if feed type could not be understood by any of the underlying parsers.
 * @throws FeedException if the feed could not be parsed
 *
 */
public SyndFeed build(File file) throws FileNotFoundException,IOException,IllegalArgumentException,FeedException {
  return new SyndFeedImpl(_feedInput.build(file), preserveWireFeed);
}

代码示例来源:origin: org.apache.marmotta/sesame-tools-rio-rss

/**
 * Builds SyndFeedImpl from a file.
 * <p>
 * @param file file to read to create the SyndFeedImpl.
 * @return the SyndFeedImpl read from the file.
 * @throws FileNotFoundException thrown if the file could not be found.
 * @throws IOException thrown if there is problem reading the file.
 * @throws IllegalArgumentException thrown if feed type could not be understood by any of the underlying parsers.
 * @throws FeedException if the feed could not be parsed
 *
 */
public SyndFeed build(File file) throws FileNotFoundException,IOException,IllegalArgumentException,FeedException {
  return new SyndFeedImpl(_feedInput.build(file), preserveWireFeed);
}

代码示例来源:origin: apache/marmotta

/**
 * Builds SyndFeedImpl from a file.
 * <p>
 * @param file file to read to create the SyndFeedImpl.
 * @return the SyndFeedImpl read from the file.
 * @throws FileNotFoundException thrown if the file could not be found.
 * @throws IOException thrown if there is problem reading the file.
 * @throws IllegalArgumentException thrown if feed type could not be understood by any of the underlying parsers.
 * @throws FeedException if the feed could not be parsed
 *
 */
public SyndFeed build(File file) throws FileNotFoundException,IOException,IllegalArgumentException,FeedException {
  return new SyndFeedImpl(_feedInput.build(file), preserveWireFeed);
}

相关文章