public class PathDatePrefixQueryRequestParser extends DateUrlPathRequestParser
This class handles URL paths like:
20140101*/http://archive.org/*/http://archive.org/but, not
20140101*/http://archive.org/*DEFAULT_MAX_RECORDS, QUERY_BASE, REPLAY_BASE, XQUERY_BASE| Constructor and Description |
|---|
PathDatePrefixQueryRequestParser(BaseRequestParser wrapped) |
| Modifier and Type | Method and Description |
|---|---|
protected WaybackRequest |
parseDateUrl(String dateStr,
String urlStr)
parse
dateStr and urlStr and return WaybackRequest object. |
parseparsegetEarliestTimestamp, getLatestTimestamp, getMaxRecordssetEarliestTimestamp, setLatestTimestamp, setMaxRecordspublic PathDatePrefixQueryRequestParser(BaseRequestParser wrapped)
wrapped - BaseRequestParser which provides general configurationprotected WaybackRequest parseDateUrl(String dateStr, String urlStr)
DateUrlPathRequestParserdateStr and urlStr and return WaybackRequest object.parseDateUrl in class DateUrlPathRequestParserdateStr - the first path component, %-decoded.urlStr - everything after the first slash, non-decoded.WaybackRequest with parse result, or null if either
dateStr or urlStr does not match expected syntax.Copyright © 2005–2015 IIPC. All rights reserved.