content
The full content of
file
. Hyphenation will be done directly in this string builder.hyphenation()
method scans for <code>...</code>
elements (without attributes)
in the HTML files and performs the following changes in any occurrences found:
'.'
or '_'
character,
insert a zero-width space before the dot or underscore.Current version does not try to extends the standard doclet because the latter is under revision in JDK 9. We may revisit when JDK 9 become available, if their new standard doclet API is public.
private final char[]
private static final String
private final StringBuilder
file
.private static final String
private File
private boolean
true
if the content has been modified an need to be saved.private static final String
private void
<code>...</code>
elements, inserts soft-hyphens or zero-width spaces
where this method decides that the code could be wrapped on the next line.private boolean
isBeginningOfCell(int i)
true
if the characters just before i
are <td…>
or <th…>
where …
are ignored characters.private void
(package private) void
processDirectory(File directory)
private void
save()
file
. Hyphenation will be done directly in this string builder.true
if the content has been modified an need to be saved.Rewriter
.IOException
IOException
IOException
IOException
true
if the characters just before i
are <td…>
or <th…>
where …
are ignored characters. If the element before is <a…>
, then that element
is skipped an the other element before it is verified.<code>...</code>
elements, inserts soft-hyphens or zero-width spaces
where this method decides that the code could be wrapped on the next line. We make an exception to this rule
if the <code>
tag is just after a <td>
or <th>
tag.