Package org.apache.ant.compress.util

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


     * @param enc the encoding used for filenames.
     * @param e the CpioEntry.
     * @since Compress Antlib 1.3
     */
    public CpioResource(Resource a, String enc, CpioArchiveEntry e) {
        super(new CpioStreamFactory(), "cpio", a, e);
        setEncoding(enc);
        setEntry(e);
    }
View Full Code Here


/**
* Uncpio a file.
*/
public class Uncpio extends ExpandBase {
    public Uncpio() {
        super(new CpioStreamFactory());
    }
View Full Code Here

public class Cpio extends ArchiveBase {
    private Format format = Format.BINARY;
    private int blockSize = CpioConstants.BLOCK_SIZE;

    public Cpio() {
        setFactory(new CpioStreamFactory() {
                public ArchiveOutputStream getArchiveStream(OutputStream stream,
                                                            String encoding)
                    throws IOException {
                    return new CpioArchiveOutputStream(stream,
                                                       format.getFormat(),
View Full Code Here

TOP

Related Classes of org.apache.ant.compress.util.CpioStreamFactory

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.