类 FileDownload
java.lang.Object
com.mojang.realmsclient.client.FileDownload
-
嵌套类概要
嵌套类修饰符和类型类说明(专用程序包) static class
(专用程序包) class
(专用程序包) class
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明void
cancel()
long
contentLength
(String p_86990_) void
download
(WorldDownload p_86983_, String p_86984_, RealmsDownloadLatestWorldScreen.DownloadStatus p_86985_, LevelStorageSource p_86986_) static String
findAvailableFolderName
(String p_87002_) boolean
isError()
boolean
boolean
(专用程序包) void
untarGzipArchive
(String p_86992_, File p_86993_, LevelStorageSource p_86994_)
-
字段详细资料
-
LOGGER
static final org.slf4j.Logger LOGGER -
cancelled
volatile boolean cancelled -
finished
volatile boolean finished -
error
volatile boolean error -
extracting
volatile boolean extracting -
tempFile
-
resourcePackPath
-
request
@Nullable private volatile org.apache.http.client.methods.HttpGet request -
currentThread
-
requestConfig
private final org.apache.http.client.config.RequestConfig requestConfig -
INVALID_FILE_NAMES
-
-
构造器详细资料
-
FileDownload
public FileDownload()
-
-
方法详细资料
-
contentLength
-
download
public void download(WorldDownload p_86983_, String p_86984_, RealmsDownloadLatestWorldScreen.DownloadStatus p_86985_, LevelStorageSource p_86986_) -
cancel
public void cancel() -
isFinished
public boolean isFinished() -
isError
public boolean isError() -
isExtracting
public boolean isExtracting() -
findAvailableFolderName
-
untarGzipArchive
void untarGzipArchive(String p_86992_, @Nullable File p_86993_, LevelStorageSource p_86994_) throws IOException - 抛出:
IOException
-