Examples of CBZip2InputStreamForPhar


Examples of org.eclipse.php.internal.core.tar.CBZip2InputStreamForPhar

    InputStream result = null;
    InputStream is = new PharEntryBufferedRandomInputStream(file, pharEntry);
    if (pharEntry.isCompressed()) {
      int ctype = pharEntry.getCompressedType();
      if (PharConstants.BZ2_COMPRESSED == ctype) {
        is = new CBZip2InputStreamForPhar(is);
      } else if (PharConstants.GZ_COMPRESSED == ctype) {
        is = new GZIPInputStreamForPhar(is);
      }
    }
    result = new BufferedInputStream(is);
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.