/** * @param f An Archive file to read. * @param offset Have returned Reader set to start reading at this offset. * @return An ArchiveReader * @throws IOException */ public static ArchiveReader get(final File f, final long offset) throws IOException { return ArchiveReaderFactory.factory.getArchiveReader(f, offset); }
/** * @param f An Archive file to read. * @param offset Have returned Reader set to start reading at this offset. * @return An ArchiveReader * @throws IOException */ public static ArchiveReader get(final File f, final long offset) throws IOException { return ArchiveReaderFactory.factory.getArchiveReader(f, offset); }
/** * @param f An Archive file to read. * @return An ArchiveReader * @throws IOException */ public static ArchiveReader get(final File f) throws IOException { return ArchiveReaderFactory.factory.getArchiveReader(f); }
/** * @param f An Archive file to read. * @param offset Have returned Reader set to start reading at this offset. * @return An ArchiveReader * @throws IOException */ public static ArchiveReader get(final File f, final long offset) throws IOException { return ArchiveReaderFactory.factory.getArchiveReader(f, offset); }
/** * @param f An Archive file to read. * @return An ArchiveReader * @throws IOException */ public static ArchiveReader get(final File f) throws IOException { return ArchiveReaderFactory.factory.getArchiveReader(f); }
protected ArchiveReader getArchiveReader(final File f) throws IOException { return getArchiveReader(f, 0); }
/** * @param f An Archive file to read. * @return An ArchiveReader * @throws IOException */ public static ArchiveReader get(final File f) throws IOException { return ArchiveReaderFactory.factory.getArchiveReader(f); }
/** * 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 u An URL that points at an ARC. * @return An ARCReader. * @throws IOException */ public static ArchiveReader get(final URL u) throws IOException { return ArchiveReaderFactory.factory.getArchiveReader(u); }
/** * Get an Archive file Reader on passed path or url. * Does primitive heuristic figuring if path or URL. * @param arcFileOrUrl File path or URL pointing at an Archive file. * @return An Archive file Reader. * @throws IOException * @throws MalformedURLException * @throws IOException */ public static ArchiveReader get(final String arcFileOrUrl) throws MalformedURLException, IOException { return ArchiveReaderFactory.factory.getArchiveReader(arcFileOrUrl); }
protected ArchiveReader getArchiveReader(final String arcFileOrUrl) throws MalformedURLException, IOException { return getArchiveReader(arcFileOrUrl, 0); }
protected ArchiveReader getArchiveReader(final File f) throws IOException { return getArchiveReader(f, 0); }
/** * Get an Archive file Reader on passed path or url. * Does primitive heuristic figuring if path or URL. * @param arcFileOrUrl File path or URL pointing at an Archive file. * @return An Archive file Reader. * @throws IOException * @throws MalformedURLException * @throws IOException */ public static ArchiveReader get(final String arcFileOrUrl) throws MalformedURLException, IOException { return ArchiveReaderFactory.factory.getArchiveReader(arcFileOrUrl); }
protected ArchiveReader getArchiveReader(final String arcFileOrUrl) throws MalformedURLException, IOException { return getArchiveReader(arcFileOrUrl, 0); }
protected ArchiveReader getArchiveReader(final String arcFileOrUrl) throws MalformedURLException, IOException { return getArchiveReader(arcFileOrUrl, 0); }
protected ArchiveReader getArchiveReader(final File f) throws IOException { return getArchiveReader(f, 0); }
/** * Get an Archive file Reader on passed path or url. * Does primitive heuristic figuring if path or URL. * @param arcFileOrUrl File path or URL pointing at an Archive file. * @return An Archive file Reader. * @throws IOException * @throws MalformedURLException * @throws IOException */ public static ArchiveReader get(final String arcFileOrUrl) throws MalformedURLException, IOException { return ArchiveReaderFactory.factory.getArchiveReader(arcFileOrUrl); }
/** * Get an Archive Reader aligned at <code>offset</code>. * This version of get will not bring the file local but will try to * stream across the net making an HTTP 1.1 Range request on remote * http server (RFC1435 Section 14.35). * @param u HTTP URL for an Archive file. * @param offset Offset into file at which to start fetching. * @return An ArchiveReader aligned at offset. * @throws IOException */ public static ArchiveReader get(final URL u, final long offset) throws IOException { return ArchiveReaderFactory.factory.getArchiveReader(u, offset); }
/** * 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 u An URL that points at an ARC. * @return An ARCReader. * @throws IOException */ public static ArchiveReader get(final URL u) throws IOException { return ArchiveReaderFactory.factory.getArchiveReader(u); }
/** * 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 u An URL that points at an ARC. * @return An ARCReader. * @throws IOException */ public static ArchiveReader get(final URL u) throws IOException { return ArchiveReaderFactory.factory.getArchiveReader(u); }
/** * Get an Archive Reader aligned at <code>offset</code>. * This version of get will not bring the file local but will try to * stream across the net making an HTTP 1.1 Range request on remote * http server (RFC1435 Section 14.35). * @param u HTTP URL for an Archive file. * @param offset Offset into file at which to start fetching. * @return An ArchiveReader aligned at offset. * @throws IOException */ public static ArchiveReader get(final URL u, final long offset) throws IOException { return ArchiveReaderFactory.factory.getArchiveReader(u, offset); }