public class ArchivalUrl extends Object
Constructor and Description |
---|
ArchivalUrl(WaybackRequest wbRequest) |
Modifier and Type | Method and Description |
---|---|
static void |
assignFlags(WaybackRequest wbRequest,
String flagsStr) |
String |
getDateSpec()
Create a new datespec + flags which represent the same options
as requested by the instances own WaybackRequest, using the constant WaybackRequest.REQUEST_DATE constant as
a prefix.
|
String |
getDateSpec(String datespec)
Given a date, create a new datespec + flags which represent the same options
as requested by the instances own WaybackRequest.
|
static String |
getDateSpec(WaybackRequest wbRequest,
String datespec)
Given a date, create a new datespec + flags
which represent the same options as requested by the WaybackRequest
|
String |
toPrefixQueryString(String url) |
String |
toQueryString(String url) |
String |
toReplayString(String url) |
String |
toString() |
String |
toString(String datespec,
String url) |
public static final String STAR
public ArchivalUrl(WaybackRequest wbRequest)
public String toString()
public String getDateSpec()
public String getDateSpec(String datespec)
datespec
- The date specification prefix.public static String getDateSpec(WaybackRequest wbRequest, String datespec)
wbRequest
- datespec
- The date specification prefix.public static void assignFlags(WaybackRequest wbRequest, String flagsStr)
wbRequest
- flagsStr
- : "js_", "", "cs_", "cs_js_"Copyright © 2005–2015 IIPC. All rights reserved.