Class ChangelogReader

java.lang.Object
com.palmergames.bukkit.towny.utils.ChangelogReader

public class ChangelogReader extends Object
  • Method Details

    • read

      @NotNull public @NotNull ChangelogResult read() throws IOException
      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)