Interface ParseCallback
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A function that retrieves a chunk of text at a given byte offset and point.
-
Method Summary
-
Method Details
-
read
-
apply
@Deprecated(since="0.26.0", forRemoval=true) default @Nullable String apply(@Unsigned Integer offset, @NonNull Point point) Deprecated, for removal: This API element is subject to removal in a future version.Useread(int, Point)insteadApplies this function to the given arguments.- Parameters:
offset- the current byte offsetpoint- the current point- Returns:
- A chunk of text or
nullto indicate the end of the document.
-
read(int, Point)instead