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 August 25 2014. | Portions Copyright 1997-2014 Oracle. All rights reserved.