org.archive.io.warc.WARCReaderFactory.getArchiveReader()方法的使用及代码示例

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

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

WARCReaderFactory.getArchiveReader介绍

暂无

代码示例

代码示例来源:origin: org.netpreserve.commons/commons-web

public static WARCReader get(final URL arcUrl, final long offset)
throws IOException {
  return (WARCReader)WARCReaderFactory.factory.getArchiveReader(arcUrl,
    offset);
}

代码示例来源:origin: iipc/webarchive-commons

public static ArchiveReader get(final String s, final InputStream is,
    final boolean atFirstRecord)
throws IOException {
  return WARCReaderFactory.factory.getArchiveReader(s, is,
    atFirstRecord);
}

代码示例来源:origin: org.netpreserve.commons/webarchive-commons

public static ArchiveReader get(final String s, final InputStream is,
    final boolean atFirstRecord)
throws IOException {
  return WARCReaderFactory.factory.getArchiveReader(s, is,
    atFirstRecord);
}

代码示例来源:origin: org.netpreserve.commons/webarchive-commons

/**
 * @param f An arcfile to read.
 * @param offset Have returned Reader set to start reading at this offset.
 * @return A WARCReader.
 * @throws IOException 
 */
public static WARCReader get(final File f, final long offset)
throws IOException {
  return (WARCReader)WARCReaderFactory.factory.
    getArchiveReader(f, offset);
}

代码示例来源:origin: iipc/webarchive-commons

public static WARCReader get(final URL arcUrl, final long offset)
throws IOException {
  return (WARCReader)WARCReaderFactory.factory.getArchiveReader(arcUrl,
    offset);
}

代码示例来源:origin: org.netpreserve.commons/commons-web

/**
 * @param f An arcfile to read.
 * @param offset Have returned Reader set to start reading at this offset.
 * @return A WARCReader.
 * @throws IOException 
 */
public static WARCReader get(final File f, final long offset)
throws IOException {
  return (WARCReader)WARCReaderFactory.factory.
    getArchiveReader(f, offset);
}

代码示例来源:origin: org.netpreserve.commons/commons-web

public static ArchiveReader get(final String s, final InputStream is,
    final boolean atFirstRecord)
throws IOException {
  return WARCReaderFactory.factory.getArchiveReader(s, is,
    atFirstRecord);
}

代码示例来源:origin: org.netpreserve.commons/webarchive-commons

public static WARCReader get(String arcFileOrUrl)
throws MalformedURLException, IOException {
  return (WARCReader)WARCReaderFactory.factory.
    getArchiveReader(arcFileOrUrl);
}

代码示例来源:origin: org.netpreserve.commons/webarchive-commons

public static WARCReader get(final URL arcUrl, final long offset)
throws IOException {
  return (WARCReader)WARCReaderFactory.factory.getArchiveReader(arcUrl,
    offset);
}

代码示例来源:origin: org.netpreserve.commons/commons-web

public static WARCReader get(String arcFileOrUrl)
throws MalformedURLException, IOException {
  return (WARCReader)WARCReaderFactory.factory.
    getArchiveReader(arcFileOrUrl);
}

代码示例来源:origin: iipc/webarchive-commons

public static WARCReader get(String arcFileOrUrl)
throws MalformedURLException, IOException {
  return (WARCReader)WARCReaderFactory.factory.
    getArchiveReader(arcFileOrUrl);
}

代码示例来源:origin: iipc/webarchive-commons

/**
 * @param f An arcfile to read.
 * @param offset Have returned Reader set to start reading at this offset.
 * @return A WARCReader.
 * @throws IOException 
 */
public static WARCReader get(final File f, final long offset)
throws IOException {
  return (WARCReader)WARCReaderFactory.factory.
    getArchiveReader(f, offset);
}

代码示例来源:origin: org.netpreserve.commons/webarchive-commons

public static WARCReader get(final File f) throws IOException {
  return (WARCReader)WARCReaderFactory.factory.getArchiveReader(f);
}

代码示例来源:origin: org.netpreserve.commons/commons-web

public static WARCReader get(final File f) throws IOException {
  return (WARCReader)WARCReaderFactory.factory.getArchiveReader(f);
}

代码示例来源:origin: org.netpreserve.commons/commons-web

/**
 * Get an ARCReader.
 * Pulls the ARC local into whereever the System Property
 * <code>java.io.tmpdir</code> points. It then hands back an ARCReader that
 * points at this local copy.  A close on this ARCReader instance will
 * remove the local copy.
 * @param arcUrl An URL that points at an ARC.
 * @return An ARCReader.
 * @throws IOException 
 */
public static WARCReader get(final URL arcUrl)
throws IOException {
  return (WARCReader)WARCReaderFactory.factory.getArchiveReader(arcUrl);
}

代码示例来源:origin: org.netpreserve.commons/webarchive-commons

/**
 * Get an ARCReader.
 * Pulls the ARC local into whereever the System Property
 * <code>java.io.tmpdir</code> points. It then hands back an ARCReader that
 * points at this local copy.  A close on this ARCReader instance will
 * remove the local copy.
 * @param arcUrl An URL that points at an ARC.
 * @return An ARCReader.
 * @throws IOException 
 */
public static WARCReader get(final URL arcUrl)
throws IOException {
  return (WARCReader)WARCReaderFactory.factory.getArchiveReader(arcUrl);
}

代码示例来源:origin: iipc/webarchive-commons

/**
 * Get an ARCReader.
 * Pulls the ARC local into whereever the System Property
 * <code>java.io.tmpdir</code> points. It then hands back an ARCReader that
 * points at this local copy.  A close on this ARCReader instance will
 * remove the local copy.
 * @param arcUrl An URL that points at an ARC.
 * @return An ARCReader.
 * @throws IOException 
 */
public static WARCReader get(final URL arcUrl)
throws IOException {
  return (WARCReader)WARCReaderFactory.factory.getArchiveReader(arcUrl);
}

代码示例来源:origin: iipc/webarchive-commons

public static WARCReader get(final File f) throws IOException {
  return (WARCReader)WARCReaderFactory.factory.getArchiveReader(f);
}

相关文章

微信公众号

最新文章

更多