public class DropboxURLMapper
extends Object
Maps pseudo-DropBox URLs to valid ones.
DropBox used to have all files in public folders available via a URL of
the form: http://BASEURL/RELPATH where the BASEURL was a fixed URL for the
public folder and RELPATH the relative path into the public folder.
This convention changed, now the URLs are of the form:
https://www.dropbox.com/sh/USER-SPECIFIC/ALWAYS-CHANGING/RELPATH
This class helps to map URLs of the form BASEURL/RELPATH into the correct URL.
- Author:
- Johannes Schindelin