Package com.baulsupp.kolja.log.viewer.io.fast

Examples of com.baulsupp.kolja.log.viewer.io.fast.FastLineIterator


    if (intRange != null && intRange.getFrom() > 0) {
      from = intRange.getFrom() - 1;
    }

    CharSequence content = new ChunkedFileSequence(file, ChunkedFileSequence.MB, Charset.forName("US-ASCII"), from);
    return new FastLineIterator(format.getEntryPattern(), content, format.getLineParser(), intRange);
  }
View Full Code Here


      content = GzipFileSequence.create(file, Charset.forName("US-ASCII"));
    } else {
      content = ChunkedFileSequence.create(file, Charset.forName("US-ASCII"), from);
    }

    return new FastLineIterator(format.getEntryPattern(), content, format.getLineParser(), from, to);
  }
View Full Code Here

TOP

Related Classes of com.baulsupp.kolja.log.viewer.io.fast.FastLineIterator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.