Package org.archive.util.binsearch

Examples of org.archive.util.binsearch.SeekableLineReader


      LOGGER.info("Loading " + path + " - " + offset + ":" + length);
    }
   
    boolean success = false;
   
    SeekableLineReader slr = blockLoader.attemptLoadBlock(path, offset, length, false, false);
   
    if (slr == null) {
      return null;
    }
   
    try {
      InputStream is = slr.getInputStream();
     
      r = loadResource(path, is);
     
      r.parseHeaders();
     
      success = true;
     
    } finally {
      if (!success) {
        if (slr != null) {
          slr.close();
       
      }
    }

    return r;
View Full Code Here

TOP

Related Classes of org.archive.util.binsearch.SeekableLineReader

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.