Examples of SevenZStreamFactory


Examples of org.apache.ant.compress.util.SevenZStreamFactory

    /**
     * Default constructor.
     */
    public SevenZResource() {
        super(new SevenZStreamFactory(), "7z");
    }
View Full Code Here

Examples of org.apache.ant.compress.util.SevenZStreamFactory

     * @param z the 7z file as File.
     * @param enc the encoding used for filenames - ignored.
     * @param e the SevenZEntry.
     */
    public SevenZResource(File z, String enc, SevenZArchiveEntry e) {
        super(new SevenZStreamFactory(), "7z", z, e);
        setEntry(e);
    }
View Full Code Here

Examples of org.apache.ant.compress.util.SevenZStreamFactory

     * @param z the 7z archive
     * @param enc the encoding used for filenames - ignored.
     * @param e the SevenZEntry.
     */
    public SevenZResource(Resource z, String enc, SevenZArchiveEntry e) {
        super(new SevenZStreamFactory(), "sevenz", z, e);
        setEntry(e);
    }
View Full Code Here

Examples of org.apache.ant.compress.util.SevenZStreamFactory

    public SevenZScanner() {
        this(false, null);
    }

    public SevenZScanner(boolean skipUnreadable, Project project) {
        super(new SevenZStreamFactory(),
              new CommonsCompressArchiveScanner.ResourceBuilder() {
                public Resource buildResource(Resource archive, String encoding,
                                              ArchiveEntry entry) {
                    return new SevenZResource(archive, encoding,
                                              (SevenZArchiveEntry) entry);
View Full Code Here

Examples of org.apache.ant.compress.util.SevenZStreamFactory

* @since Apache Compress Antlib 1.3
*/
public class Un7z extends ExpandBase {

    public Un7z() {
        super(new SevenZStreamFactory());
    }
View Full Code Here

Examples of org.apache.ant.compress.util.SevenZStreamFactory

public class SevenZ extends ArchiveBase {

    private String contentCompression;

    public SevenZ() {
        setFactory(new SevenZStreamFactory() {
                public ArchiveOutputStream getArchiveOutputStream(File f,
                                                                  String encoding)
                    throws IOException {
                    SevenZArchiveOutputStream o = (SevenZArchiveOutputStream)
                        super.getArchiveOutputStream(f, encoding);
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.