@FunctionalInterface public static interface SVGUtils.SplitConsumer
SVGUtils.split(String, List, SplitConsumer) to consume data an indicate whether to further add new characters or consume the currentData.| Modifier and Type | Method and Description |
|---|---|
boolean |
consume(String currentData,
int index)
Called when a delimiter or the last character is read and will indicate whether the current read data can be used or not.
|
boolean consume(String currentData, int index) throws SVGException
currentData - String containing the currently read data so far.index - the index of the character in the original data that was currently readSVGException - in case the splitting is not possible due to invalid data ans so on.Copyright © 2016 Saxonia Systems AG. All rights reserved.