public class LineBreakProducer extends Object implements BreakOpportunityProducer
BREAK_CHAR, BREAK_LINE, BREAK_NEVER, BREAK_SYLLABLE, BREAK_WORD
END_OF_TEXT, START_OF_TEXT
Constructor and Description |
---|
LineBreakProducer() |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
int |
createBreakOpportunity(int codepoint) |
void |
reset() |
void |
startText()
Signals the start of text.
|
public void startText()
public int createBreakOpportunity(int codepoint)
createBreakOpportunity
in interface BreakOpportunityProducer
public Object clone() throws CloneNotSupportedException
clone
in interface BreakOpportunityProducer
clone
in interface ClassificationProducer
clone
in class Object
CloneNotSupportedException
public void reset()
reset
in interface BreakOpportunityProducer
Copyright © 2017 Hitachi Vantara. All rights reserved.