(final char[] chapterBuffer)
| 777 | } |
| 778 | |
| 779 | public final String getTextForBookmark(final char[] chapterBuffer) { |
| 780 | |
| 781 | final int size = regions.length; |
| 782 | StringBuffer buf = new StringBuffer(48); |
| 783 | |
| 784 | for (int i = 0; i < size && buf.length() < 24; i++) { |
| 785 | regions[i].addTextChunk(chapterBuffer, buf); |
| 786 | } |
| 787 | |
| 788 | if (buf.charAt(buf.length() - 1) == ' ') { |
| 789 | buf.deleteCharAt(buf.length() - 1); |
| 790 | } |
| 791 | |
| 792 | return buf.toString(); |
| 793 | } |
| 794 | |
| 795 | public final String getTextForBookmark( |
| 796 | final char[] chapterBuffer, |
nothing calls this directly
no test coverage detected