Commits
Marco authored and md_5 committed 667533623b1
126 126 | * @param page the page number to get, in range [1, getPageCount()] |
127 127 | * @return the page from the book |
128 128 | */ |
129 129 | |
130 130 | String getPage(int page); |
131 131 | |
132 132 | /** |
133 133 | * Sets the specified page in the book. Pages of the book must be |
134 134 | * contiguous. |
135 135 | * <p> |
136 - | * The data can be up to 256 characters in length, additional characters |
136 + | * The data can be up to 1024 characters in length, additional characters |
137 137 | * are truncated. |
138 138 | * <p> |
139 139 | * Pages are 1-indexed. |
140 140 | * |
141 141 | * @param page the page number to set, in range [1, getPageCount()] |
142 142 | * @param data the data to set for that page |
143 143 | */ |
144 144 | void setPage(int page, String data); |
145 145 | |
146 146 | /** |
147 147 | * Gets all the pages in the book. |
148 148 | * |
149 149 | * @return list of all the pages in the book |
150 150 | */ |
151 151 | |
152 152 | List<String> getPages(); |
153 153 | |
154 154 | /** |
155 155 | * Clears the existing book pages, and sets the book to use the provided |
156 - | * pages. Maximum 100 pages with 256 characters per page. |
156 + | * pages. Maximum 100 pages with 1024 characters per page. |
157 157 | * |
158 158 | * @param pages A list of pages to set the book to use |
159 159 | */ |
160 160 | void setPages( List<String> pages); |
161 161 | |
162 162 | /** |
163 163 | * Clears the existing book pages, and sets the book to use the provided |
164 - | * pages. Maximum 50 pages with 256 characters per page. |
164 + | * pages. Maximum 100 pages with 1024 characters per page. |
165 165 | * |
166 166 | * @param pages A list of strings, each being a page |
167 167 | */ |
168 168 | void setPages( String... pages); |
169 169 | |
170 170 | /** |
171 - | * Adds new pages to the end of the book. Up to a maximum of 50 pages with |
172 - | * 256 characters per page. |
171 + | * Adds new pages to the end of the book. Up to a maximum of 100 pages with |
172 + | * 1024 characters per page. |
173 173 | * |
174 174 | * @param pages A list of strings, each being a page |
175 175 | */ |
176 176 | void addPage( String... pages); |
177 177 | |
178 178 | /** |
179 179 | * Gets the number of pages in the book. |
180 180 | * |
181 181 | * @return the number of pages in the book |
182 182 | */ |