Package com.starlight.io

Examples of com.starlight.io.PositionTrackingInputStream.skip()


       
        int line = 0;
       
        // If we're skipping some data, do it now
        if ( starting_position > 0 ) {
          long actual = in.skip( starting_position );
         
          // If we weren't able to skip the desired number of bytes, we'll need
          // to do a full index because we don't know what line we're at.
          if ( actual != starting_position ) {
            // If mark is support, we can just reset to the beginning and
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.