com.github.axet.wget
Class Direct
java.lang.Object
com.github.axet.wget.Direct
- Direct Known Subclasses:
- DirectMultipart, DirectRange, DirectSingle
public abstract class Direct
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONNECT_TIMEOUT
public static final int CONNECT_TIMEOUT
- connect socket timeout
- See Also:
- Constant Field Values
READ_TIMEOUT
public static final int READ_TIMEOUT
- read socket timeout
- See Also:
- Constant Field Values
BUF_SIZE
public static final int BUF_SIZE
- size of read buffer
- See Also:
- Constant Field Values
USER_AGENT
public static final String USER_AGENT
- fake user agent for Vimeo.
- See Also:
- Constant Field Values
Direct
public Direct(DownloadInfo info,
File target)
- Parameters:
info - download file informationtarget - target filestop - multithread stop commandnotify - progress notify call
download
public abstract void download(AtomicBoolean stop,
Runnable notify)
Copyright © 2012. All Rights Reserved.