Package net.pms.io

Examples of net.pms.io.SizeLimitInputStream


   */
  private InputStream wrap(InputStream input, long high, long low) {
    if (input != null && high > low) {
      long bytes = (high - (low < 0 ? 0 : low)) + 1;
      LOGGER.trace("Using size-limiting stream (" + bytes + " bytes)");
      return new SizeLimitInputStream(input, bytes);
    }
    return input;
  }
View Full Code Here


   */
  private InputStream wrap(InputStream input, long high, long low) {
    if (input != null && high > low) {
      long bytes = (high - (low < 0 ? 0 : low)) + 1;
      logger.trace("Using size-limiting stream (" + bytes + " bytes)");
      return new SizeLimitInputStream(input, bytes);
    }
    return input;
  }
View Full Code Here

TOP

Related Classes of net.pms.io.SizeLimitInputStream

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.