Class AssetsDirHelper
java.lang.Object
pro.gravit.launchserver.helper.AssetsDirHelper
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordstatic final recordstatic final recordstatic final recordstatic final record -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AssetsDirHelper.AssetInfogetAssetInfo(HttpRequester requester, String versionName) static List<pro.gravit.launcher.base.Downloader.SizedFile> makeToDownloadFiles(AssetsDirHelper.AssetInfo assetInfo, pro.gravit.launcher.core.hasher.HashedDir updatesDir)
-
Field Details
-
MINECRAFT_VERSIONS_URL
- See Also:
-
RESOURCES_DOWNLOAD_URL
- See Also:
-
-
Constructor Details
-
AssetsDirHelper
public AssetsDirHelper()
-
-
Method Details
-
makeToDownloadFiles
public static List<pro.gravit.launcher.base.Downloader.SizedFile> makeToDownloadFiles(AssetsDirHelper.AssetInfo assetInfo, pro.gravit.launcher.core.hasher.HashedDir updatesDir) -
getAssetInfo
public static AssetsDirHelper.AssetInfo getAssetInfo(HttpRequester requester, String versionName) throws IOException - Throws:
IOException
-