public static enum HttpDownloader.State extends Enum<HttpDownloader.State>
| Enum Constant and Description |
|---|
DownloadingPartial
Фрагментарный режим
|
DownloadingStream
Скачивание в потоковом режиме
|
Finished
Конечное состояние
|
Pause
Пауза
|
Prepare
Подготовка - начальное состояние
|
Starting
Запуск
|
SwitchPartialDownloading
Переключение на фрагментарный режим
|
Validate
Проверка скаченных фрагментов
|
| Modifier and Type | Method and Description |
|---|---|
static HttpDownloader.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HttpDownloader.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HttpDownloader.State Prepare
public static final HttpDownloader.State Starting
public static final HttpDownloader.State Pause
public static final HttpDownloader.State DownloadingStream
public static final HttpDownloader.State SwitchPartialDownloading
public static final HttpDownloader.State DownloadingPartial
public static final HttpDownloader.State Validate
public static final HttpDownloader.State Finished
public static HttpDownloader.State[] values()
for (HttpDownloader.State c : HttpDownloader.State.values()) System.out.println(c);
public static HttpDownloader.State valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2017. All rights reserved.