de.flapdoodle.embed.process.store
Class Downloader
java.lang.Object
de.flapdoodle.embed.process.store.Downloader
public class Downloader
- extends Object
Class for downloading runtime
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONNECTION_TIMEOUT
public static final int CONNECTION_TIMEOUT
- See Also:
- Constant Field Values
READ_TIMEOUT
public static final int READ_TIMEOUT
- See Also:
- Constant Field Values
DEFAULT_CONTENT_LENGTH
public static final int DEFAULT_CONTENT_LENGTH
- See Also:
- Constant Field Values
BUFFER_LENGTH
public static final int BUFFER_LENGTH
- See Also:
- Constant Field Values
READ_COUNT_MULTIPLIER
public static final int READ_COUNT_MULTIPLIER
- See Also:
- Constant Field Values
getDownloadUrl
public static String getDownloadUrl(IDownloadConfig runtime,
Distribution distribution)
download
public static File download(IDownloadConfig runtime,
Distribution distribution)
throws IOException
- Throws:
IOException
Copyright © 2012. All Rights Reserved.