Examples of CBZip2OutputStreamForPhar


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

    OutputStream os = fileContentStream;
    if (PharConstants.BZ2_COMPRESSED == pharPackage.getCompressType()) {
      // i think here should be CBZip2OutputStream,but it does not work
      // and CBZip2OutputStreamForPhar works well.
      // i do not know why
      os = new CBZip2OutputStreamForPhar(os);
    } else if (PharConstants.GZ_COMPRESSED == pharPackage.getCompressType()) {
      os = new GZIPOutputStream(os);
    }
    outputStream = new TarOutputStream(os);
  }
View Full Code Here

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

    if (currentStart) {
      currentStart = false;
      if (currentEntry.getMethod() == PharConstants.NONE_COMPRESSED) {
        currentOutputStream = fileContentStream;
      } else if (currentEntry.getMethod() == PharConstants.BZ2_COMPRESSED) {
        currentOutputStream = new CBZip2OutputStreamForPhar(
            fileContentStream);
      } else if (currentEntry.getMethod() == PharConstants.GZ_COMPRESSED) {
        currentOutputStream = new GZIPOutputStreamForPhar(
            fileContentStream);
      }
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.