public class Handler extends URLStreamHandler
-Djava.protocol.handler.pkgs=org.archive.net to add this handler
to the java.net.URL set. Assumes rsync is in path. Define
system property
-Dorg.archive.net.rsync.RsyncUrlConnection.path=PATH_TO_RSYNC to
pass path to rsync. Downloads to java.io.tmpdir.| Constructor and Description |
|---|
Handler() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args)
Main dumps rsync file to STDOUT.
|
protected URLConnection |
openConnection(URL u) |
equals, getDefaultPort, getHostAddress, hashCode, hostsEqual, openConnection, parseURL, sameFile, setURL, setURL, toExternalFormprotected URLConnection openConnection(URL u)
openConnection in class URLStreamHandlerpublic static void main(String[] args) throws IOException
args - IOExceptionCopyright © 2015 The International Internet Preservation Consortium. All Rights Reserved.