public class DownloadUtils
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
MD5_SUM_CHECK_FAILED_ABORT |
static java.lang.String |
MD5_SUM_CHECK_FAILED_RETRY |
| Modifier and Type | Method and Description |
|---|---|
static void |
extractFile() |
static SupportedOS |
getCurrentOS() |
static WindowsBitness |
getWindowsBitness()
Windows lies about 64-bit systems in order to make 32-bit programs work on 64-bit systems. Taken from http://stackoverflow.com/questions/4748673/how-can-i-check-the-bitness-of-my-os-using-java-j2se-not-os-arch.
|
public static java.lang.String MD5_SUM_CHECK_FAILED_RETRY
public static java.lang.String MD5_SUM_CHECK_FAILED_ABORT
public static WindowsBitness getWindowsBitness()
Windows lies about 64-bit systems in order to make 32-bit programs work on 64-bit systems. Taken from http://stackoverflow.com/questions/4748673/how-can-i-check-the-bitness-of-my-os-using-java-j2se-not-os-arch.
WindowsBitness#WINDOWS_BITNESS_32 or WindowsBitness#WINDOWS_BITNESS_64public static SupportedOS getCurrentOS()
public static void extractFile()