Code example for BreakIterator

Methods: firstsetText

	public DocSplitterFallbackImpl() 
		buffer = "";
		bdry = BreakIterator.getSentenceInstance(Locale.US);
		start = bdry.first();
	public boolean operational() 
		return true; 
	 * Add more text to the buffer. 
	 * This allows this class to be used in FIFO mode: text is added with 
	 * this call, and sentences are extracted with the getNextSentence() call. 
	public void addText(String newText)
Contextual code suggestions in your IDE  Get Codota for Java