Package org.apache.ant.compress.util.SevenZStreamFactory

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


    public SevenZ() {
        setFactory(new SevenZStreamFactory() {
                public ArchiveOutputStream getArchiveOutputStream(File f,
                                                                  String encoding)
                    throws IOException {
                    SevenZArchiveOutputStream o = (SevenZArchiveOutputStream)
                        super.getArchiveOutputStream(f, encoding);
                    if (contentCompression != null) {
                        SevenZMethod m = (SevenZMethod)
                            Enum.valueOf(SevenZMethod.class,
                                         contentCompression.toUpperCase(Locale
                                                                        .US));
                        o.setContentCompression(m);
                    }
                    return o;
                }
            });
        setEntryBuilder(
View Full Code Here

TOP

Related Classes of org.apache.ant.compress.util.SevenZStreamFactory.SevenZArchiveOutputStream

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.