public class Handler
extends java.net.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(java.lang.String[] args)
Main dumps rsync file to STDOUT.
|
protected java.net.URLConnection |
openConnection(java.net.URL u) |
protected java.net.URLConnection openConnection(java.net.URL u)
openConnection in class java.net.URLStreamHandlerpublic static void main(java.lang.String[] args)
throws java.io.IOException
args - java.io.IOExceptionCopyright © 2019 The International Internet Preservation Consortium. All Rights Reserved.