Package com.djrapitops.plan.version
Class VersionInfoLoader
- java.lang.Object
-
- com.djrapitops.plan.version.VersionInfoLoader
-
public class VersionInfoLoader extends java.lang.Object
Utility for loading version information from github.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.List<VersionInfo>
load()
Loads version information from github.
-
-
-
Method Detail
-
load
public static java.util.List<VersionInfo> load() throws java.io.IOException
Loads version information from github.- Returns:
- List of VersionInfo, newest version first.
- Throws:
java.io.IOException
- If site can not be accessed.java.net.MalformedURLException
- If VERSION_TXT_URL is not valid.
-
-