public class ExtractTextProcessor extends Object implements IRichTextProcessor<Void>
CDText
CD item and writes the content
to the provided Appendable
.Constructor and Description |
---|
ExtractTextProcessor(Appendable os)
Constructs a text extraction processor to output to the provided appendable.
|
Modifier and Type | Method and Description |
---|---|
Void |
apply(List<RichTextRecord<?>> t) |
protected boolean |
isUseOSLineBreaks()
By default we use "\r\n" as line delimiter on Windows (same behavior as
the legacy Notes API).
|
public ExtractTextProcessor(Appendable os)
os
- the non-null Appendable
to targetprotected boolean isUseOSLineBreaks()
public Void apply(List<RichTextRecord<?>> t)
apply
in interface Function<List<RichTextRecord<?>>,Void>
Copyright © 2019–2021 HCL. All rights reserved.