diff --git a/build.gradle b/build.gradle index 25fb95e..41ed08a 100644 --- a/build.gradle +++ b/build.gradle @@ -4,7 +4,7 @@ plugins { } group 'net.william278' -version '1.0' +version '1.0.1' repositories { mavenCentral() diff --git a/src/main/java/net/william278/paginedown/ListOptions.java b/src/main/java/net/william278/paginedown/ListOptions.java index a706df7..59ca57c 100644 --- a/src/main/java/net/william278/paginedown/ListOptions.java +++ b/src/main/java/net/william278/paginedown/ListOptions.java @@ -138,6 +138,18 @@ public class ListOptions { return this; } + @NotNull + public Builder setPreviousButtonFormat(@NotNull String previousButtonFormat) { + options.previousButtonFormat = previousButtonFormat; + return this; + } + + @NotNull + public Builder setNextButtonFormat(@NotNull String nextButtonFormat) { + options.nextButtonFormat = nextButtonFormat; + return this; + } + @NotNull public ListOptions build() { return options;