/** * Will compute the next <i>offset info</i> for a text line (line terminated * by either '\r', '\n' or '\r\n'). <br> * The <i>offset info</i> computed and returned as {@link OffsetInfo} where * {@link OffsetInfo#isStartsWithMatch()} will always return true. * * @return offset info */ public OffsetInfo nextOffsetInfo() throws IOException { return this.nextOffsetInfo(null); }
OffsetInfo previousOffsetInfo = null; long lastCrlfLength = 0; while ((offsetInfo = demarcator.nextOffsetInfo(startsWithFilter)) != null) { lastCrlfLength = offsetInfo.getCrlfLength();
while ((offsetInfo = demarcator.nextOffsetInfo()) != null) { lastCrlfLength = offsetInfo.getCrlfLength();
/** * Will compute the next <i>offset info</i> for a text line (line terminated * by either '\r', '\n' or '\r\n'). <br> * The <i>offset info</i> computed and returned as {@link OffsetInfo} where * {@link OffsetInfo#isStartsWithMatch()} will always return true. * * @return offset info */ public OffsetInfo nextOffsetInfo() throws IOException { return this.nextOffsetInfo(null); }
OffsetInfo previousOffsetInfo = null; long lastCrlfLength = 0; while ((offsetInfo = demarcator.nextOffsetInfo(startsWithFilter)) != null) { lastCrlfLength = offsetInfo.getCrlfLength();
while ((offsetInfo = demarcator.nextOffsetInfo()) != null) { lastCrlfLength = offsetInfo.getCrlfLength();