Class ChangelogReader
java.lang.Object
com.palmergames.bukkit.towny.utils.ChangelogReader
-
Method Summary
Modifier and TypeMethodDescription@NotNull ChangelogResult
read()
Attempts to read the changelog at the provided path.static ChangelogReader
reader
(@NotNull String lastVersion, @NotNull InputStream changelogStream) static ChangelogReader
reader
(@NotNull String lastVersion, @NotNull InputStream changelogStream, int limit)
-
Method Details
-
read
Attempts to read the changelog at the provided path.- Returns:
- The changelog result.
- Throws:
IOException
- If an IOException occurs while reading the file.
-
reader
public static ChangelogReader reader(@NotNull @NotNull String lastVersion, @NotNull @NotNull InputStream changelogStream) -
reader
public static ChangelogReader reader(@NotNull @NotNull String lastVersion, @NotNull @NotNull InputStream changelogStream, int limit)
-