org.modeshape.jcr.text
Class TextExtractorOutput
java.lang.Object
org.modeshape.jcr.text.TextExtractorOutput
- All Implemented Interfaces:
- TextExtractor.Output
public final class TextExtractorOutput
- extends Object
- implements TextExtractor.Output
A TextExtractor.Output
implementation which appends each incoming text into a buffer,
separating the content via the configured separator.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TextExtractorOutput
public TextExtractorOutput()
TextExtractorOutput
public TextExtractorOutput(String separator)
recordText
public void recordText(String text)
- Description copied from interface:
TextExtractor.Output
- Record the text as being extracted. This method can be called multiple times during a single extract.
- Specified by:
recordText
in interface TextExtractor.Output
- Parameters:
text
- the text extracted from the content.
getText
public String getText()
Copyright © 2008-2012 JBoss, a division of Red Hat. All Rights Reserved.