Codota Logo
org.archive.wayback.core
Code IndexAdd Codota to your IDE (free)

How to use org.archive.wayback.core

Best Java code snippets using org.archive.wayback.core (Showing top 20 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
List l =
  • Codota Iconnew LinkedList()
  • Codota IconCollections.emptyList()
  • Codota Iconnew ArrayList()
  • Smart code suggestions by Codota
}
origin: iipc/openwayback

/**
 * @return the total number of results
 */
public long getResultCount() {
  return uiResults.getCaptureResults().getReturnedCount();
}
/**
origin: iipc/openwayback

public JSPExecutor(HttpServletRequest httpRequest,
    HttpServletResponse httpResponse, UIResults uiResults) {
  this.isAjax = uiResults.getWbRequest().isAjaxRequest();
  this.httpRequest = httpRequest;
  this.httpResponse = httpResponse;
  this.uiResults = uiResults;
}
origin: iipc/openwayback

/**
 * @return URL that points to the root of the Server
 * @deprecated use getWbRequest().getServerPrefix()
 */
public String getServerPrefix() {
  return getWbRequest().getServerPrefix();
}
origin: iipc/openwayback

public void renderCaptureResults(HttpServletRequest httpRequest,
    HttpServletResponse httpResponse, WaybackRequest wbRequest,
    CaptureSearchResults results, ResultURIConverter uriConverter)
    throws ServletException, IOException {
  UIResults uiResults = new UIResults(wbRequest,
    (queryUriConverter != null ? queryUriConverter : uriConverter),
    results);
  if (wbRequest.isXMLMode()) {
    uiResults.forward(httpRequest, httpResponse, xmlCaptureJsp);
  } else {
    uiResults.forward(httpRequest, httpResponse, captureJsp);
  }
}
origin: iipc/openwayback

public void removeFromList() {
  if (nextResult != null) {
    nextResult.setPrevResult(prevResult);
  }
  if (prevResult != null) {
    prevResult.setNextResult(nextResult);
  }
  prevResult = null;
  nextResult = null;
}
origin: iipc/openwayback

public Date getDuplicateDigestStoredDate() {
  if (isRevisitDigest() && get(CAPTURE_DUPLICATE_STORED_TS) != null) {
    return tsToDate(get(CAPTURE_DUPLICATE_STORED_TS));
  }
  return null;
}
origin: org.netpreserve.openwayback/openwayback-core

/**
 * @return the Date of the last capture in the result set
 */
public Date getLastResultDate() {
  return uiResults.getCaptureResults().getLastResultDate();
}

origin: org.netpreserve.openwayback/openwayback-core

/**
 * @return URL that points to the root of the current WaybackContext
 * @deprecated use getWbRequest().getContextPrefix()
 */
public String getContextPrefix() {
  return getWbRequest().getContextPrefix();
}
/**
origin: iipc/openwayback

/**
 * @return the Date of the first capture in the result set
 */
public Date getFirstResultDate() {
  return uiResults.getCaptureResults().getFirstResultDate();
}
/**
origin: iipc/openwayback

/**
 * same with {@link #getDuplicateDigestStoredDate()}, but
 * returns raw timestamp value.
 * @return string representing timestamp.
 */
public String getDuplicateDigestStoredTimestamp() {
  if (isRevisitDigest()) {
    return get(CAPTURE_DUPLICATE_STORED_TS);
  }
  return null;
}
origin: iipc/openwayback

/**
 * @param originalUrl as close to the original URL by which this Resource
 *        was captured as is possible
 */
public void setOriginalUrl(String originalUrl) {
  put(CAPTURE_ORIGINAL_URL, originalUrl);
}
origin: org.netpreserve.openwayback/openwayback-core

public void renderCaptureResults(HttpServletRequest httpRequest,
    HttpServletResponse httpResponse, WaybackRequest wbRequest,
    CaptureSearchResults results, ResultURIConverter uriConverter)
    throws ServletException, IOException {
  UIResults uiResults = new UIResults(wbRequest,
    (queryUriConverter != null ? queryUriConverter : uriConverter),
    results);
  if (wbRequest.isXMLMode()) {
    uiResults.forward(httpRequest, httpResponse, xmlCaptureJsp);
  } else {
    uiResults.forward(httpRequest, httpResponse, captureJsp);
  }
}
origin: org.netpreserve.openwayback/openwayback-core

/**
 * @return the total number of results
 */
public long getResultCount() {
  return uiResults.getCaptureResults().getReturnedCount();
}
/**
origin: org.netpreserve.openwayback/openwayback-core

public JSPExecutor(HttpServletRequest httpRequest,
    HttpServletResponse httpResponse, UIResults uiResults) {
  this.isAjax = uiResults.getWbRequest().isAjaxRequest();
  this.httpRequest = httpRequest;
  this.httpResponse = httpResponse;
  this.uiResults = uiResults;
}
origin: org.netpreserve.openwayback/openwayback-core

/**
 * @return URL that points to the root of the Server
 * @deprecated use getWbRequest().getServerPrefix()
 */
public String getServerPrefix() {
  return getWbRequest().getServerPrefix();
}
origin: iipc/openwayback

/**
 * @return the Date of the last capture in the result set
 */
public Date getLastResultDate() {
  return uiResults.getCaptureResults().getLastResultDate();
}

origin: iipc/openwayback

/**
 * @return URL that points to the root of the current WaybackContext
 * @deprecated use getWbRequest().getContextPrefix()
 */
public String getContextPrefix() {
  return getWbRequest().getContextPrefix();
}
/**
origin: org.netpreserve.openwayback/openwayback-core

/**
 * @return the Date of the first capture in the result set
 */
public Date getFirstResultDate() {
  return uiResults.getCaptureResults().getFirstResultDate();
}
/**
origin: iipc/openwayback

public void renderUrlResults(HttpServletRequest httpRequest,
    HttpServletResponse httpResponse, WaybackRequest wbRequest,
    UrlSearchResults results, ResultURIConverter uriConverter)
    throws ServletException, IOException {
  UIResults uiResults = new UIResults(wbRequest,
    (queryUriConverter != null ? queryUriConverter : uriConverter),
    results);
  if (wbRequest.isXMLMode()) {
    uiResults.forward(httpRequest, httpResponse, xmlUrlJsp);
  } else {
    uiResults.forward(httpRequest, httpResponse, urlJsp);
  }
}
origin: org.netpreserve.openwayback/openwayback-core

public void renderUrlResults(HttpServletRequest httpRequest,
    HttpServletResponse httpResponse, WaybackRequest wbRequest,
    UrlSearchResults results, ResultURIConverter uriConverter)
    throws ServletException, IOException {
  UIResults uiResults = new UIResults(wbRequest,
    (queryUriConverter != null ? queryUriConverter : uriConverter),
    results);
  if (wbRequest.isXMLMode()) {
    uiResults.forward(httpRequest, httpResponse, xmlUrlJsp);
  } else {
    uiResults.forward(httpRequest, httpResponse, urlJsp);
  }
}
org.archive.wayback.core

Most used classes

  • CaptureSearchResult
  • CaptureSearchResults
    Output of capture search query, an ordered sequence of CaptureSearchResult.
  • Resource
    Abstraction on top of a document stored in a WaybackCollection. TODO: This implementation needs some
  • WaybackRequest
    Abstraction of all the data associated with a users request to the Wayback Machine.
  • FastCaptureSearchResult
  • UIResults,
  • UrlSearchResults,
  • SearchResult,
  • UTF8Control,
  • UrlSearchResult
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now