Package com.openhtmltopdf.layout
Class UrlAwareLineBreakIterator
- java.lang.Object
-
- com.openhtmltopdf.layout.UrlAwareLineBreakIterator
-
- All Implemented Interfaces:
FSTextBreaker
public class UrlAwareLineBreakIterator extends Object implements FSTextBreaker
BreakIterator implementation that improves line breaking for URLs. Break points are supported before path fragments.
-
-
Constructor Summary
Constructors Constructor Description UrlAwareLineBreakIterator(BreakIterator breaker)
-
-
-
Constructor Detail
-
UrlAwareLineBreakIterator
public UrlAwareLineBreakIterator(BreakIterator breaker)
-
-
Method Detail
-
next
public int next()
- Specified by:
next
in interfaceFSTextBreaker
-
setText
public void setText(String newText)
- Specified by:
setText
in interfaceFSTextBreaker
-
-