get(String arcFileOrUrl) Get an Archive file Reader on passed path or url.
Does primitive heuristic figuring if path or URL.
Parameters: arcFileOrUrl - File path or URL pointing at an Archive file.
get(String s, InputStream is, boolean atFirstRecord) Wrap a Reader around passed Stream.
Parameters: s - Identifying String for this Stream used in error messages.Must be a string that ends with the name of the file we're to putan ArchiveReader on.
get(URL u, long offset) Get an Archive Reader aligned at offset.
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).
Parameters: u - HTTP URL for an Archive file. Parameters: offset - Offset into file at which to start fetching.
Get an Archive file Reader on passed path or url.
Does primitive heuristic figuring if path or URL.
Parameters: arcFileOrUrl - File path or URL pointing at an Archive file. An Archive file Reader. throws: IOException - throws: MalformedURLException - throws: IOException -
Parameters: f - An Archive file to read. Parameters: offset - Have returned Reader set to start reading at this offset. An ArchiveReader throws: IOException -
Wrap a Reader around passed Stream.
Parameters: s - Identifying String for this Stream used in error messages.Must be a string that ends with the name of the file we're to putan ArchiveReader on. This code looks at file endings to figurewhether to return an ARC or WARC reader. Parameters: is - Stream. Stream will be wrapped with implementation ofRepositionableStream unless already supported. Parameters: atFirstRecord - Are we at first Record? ArchiveReader. throws: IOException -
Get an Archive Reader aligned at offset.
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).
Parameters: u - HTTP URL for an Archive file. Parameters: offset - Offset into file at which to start fetching. An ArchiveReader aligned at offset. throws: IOException -
Get an ARCReader.
Pulls the ARC local into whereever the System Property
java.io.tmpdir points. It then hands back an ARCReader that
points at this local copy. A close on this ARCReader instance will
remove the local copy.
Parameters: u - An URL that points at an ARC. An ARCReader. throws: IOException -