public interface RichTextRecordList extends List<RichTextRecord<?>>
List
represents an ordered collection of
RichTextRecord
s.Modifier and Type | Method and Description |
---|---|
default void |
extractFileResource(OutputStream os)
Extracts the contents of a file-resource CD item (e.g.
|
default void |
extractImageResource(OutputStream os)
Extracts the contents of a image-resource CD item (e.g.
|
default String |
extractText()
Extracts the contents of
CDText CD item and writes the content
to the provided Appendable . |
default void |
extractText(Appendable out)
Extracts the contents of
CDText CD item and writes the content
to the provided Appendable . |
default long |
getFileResourceSize()
Retrieves the size of the file stored in a file-resource CD item (e.g.
|
default long |
getImageResourceSize()
Retrieves the size of the file stored in a image-resource CD item (e.g.
|
default <T> T |
process(IRichTextProcessor<T> processor) |
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray
parallelStream, removeIf, stream
default <T> T process(IRichTextProcessor<T> processor)
default long getFileResourceSize()
$FileData
).default void extractFileResource(OutputStream os)
$FileData
) and writes
the content to the provided OutputStream
.os
- the target OutputStream
default long getImageResourceSize()
$ImageData
).default void extractImageResource(OutputStream os)
$ImageData
) and writes
the content to the provided OutputStream
.os
- the target OutputStream
default void extractText(Appendable out)
CDText
CD item and writes the content
to the provided Appendable
.out
- the target Appendable
default String extractText()
CDText
CD item and writes the content
to the provided Appendable
.Copyright © 2019–2021 HCL. All rights reserved.