public interface ContentReader
|Modifier and Type||Interface and Description|
Factory, which produces ContentReader instance(s) appropriate for the fold type.
CharSequence read(Document d, Fold f, FoldTemplate ft) throws BadLocationException
nullmay be returned. If more ContentReaders are registered, some other instance might handle the fold properly. If not, the placeholder will be retained and presented in the fold text.
d- the document to read from
f- fold, whose contents should be read
ft- the original fold template, if available
nullif unwilling to retrieve the content.
Built on October 1 2022. | Copyright © 2017-2022 Apache Software Foundation. All Rights Reserved.