Examples of GZipUnArchiver


Examples of org.codehaus.plexus.archiver.gzip.GZipUnArchiver

       
        File originalSourceFile = this.getSourceFile();
       
        try
        {
            GZipUnArchiver zipUnArchiver = new GZipUnArchiver();
           
            zipUnArchiver.enableLogging( this.getLogger() );
           
            zipUnArchiver.setDestFile( tempTarFile );
           
            zipUnArchiver.setSourceFile( this.getSourceFile() );
                      
            zipUnArchiver.extract();
           
            this.setSourceFile( tempTarFile );
           
            super.execute();
        }
View Full Code Here

Examples of org.codehaus.plexus.archiver.gzip.GZipUnArchiver

        File originalSourceFile = this.getSourceFile();

        try
        {
            GZipUnArchiver zipUnArchiver = new GZipUnArchiver( getSourceFile() );

            zipUnArchiver.enableLogging( this.getLogger() );

            zipUnArchiver.setDestFile( tempTarFile );

            zipUnArchiver.extract();

            // This is so nasty. You have to make it clear what you're doing. If you're going to take a source file
            // and do something with it like gunzip it and then untar the result then use methods named what they
            // actually do. And setters for this stuff is just so confusing, use a method with a parameter.
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.