Called once if the file is binary.
This method is deprecated. in 2.10 for update in 3.0. This method will not be removed. However, its implementation will be changed to return
onEndPage(Page). It is now called before
onEndPage(Page). This makes
onEndPage(Page)'s handling consistent with other callbacks; it is always intended to be the final callback method to be invoked, indicating there is no further data available.
Called once if the file is binary. None of the other methods will be called.
|page||information about the page streamed to the callback. The
This method is deprecated.
in 2.10 for update in 3.0. This method will not be removed. However, its implementation will be changed to return
true instead of
Ignores the provided line details and returns
false, which will terminate streaming.
onChange(Change)and will be changed in the 3.0 release to return
trueinstead. Derived classes which rely on the behaviour of this current implementation should override this method and return
|lineNumber||the line number of the line in the file|
|line||a truncated line of code. The line character limit can be set at a system level via a system property|
|truncated||where the received line was truncated|
false, until 3.0
|IOException||may be thrown by derived classes|
onLine(int, String, boolean). It provides the callback the index of the first line on
onStart(FileContext)will replace this method in Stash 3.0. Until 3.0, the starting index can be retrieved using the deprecated
getStart(). Plugin developers should implement
onEnd(FileSummary)and use the
FileSummaryto retrieve paging details.
|index||the index of the starting element of the page|