Package org.codehaus.plexus.archiver.tar

Examples of org.codehaus.plexus.archiver.tar.TarGZipUnArchiver


                destinationFile.mkdirs();
            }
           
            if (targzFile.exists()) {
                //Create an UnArchiver object from .tar.gz file
                TarGZipUnArchiver targzUnArchiver = new TarGZipUnArchiver();

                //Set the compressed source file
                targzUnArchiver.setSourceFile(targzFile);
                               
                //extract the .tar.gz file on destination Path
                targzUnArchiver.extract("", destinationFile);
            }
            else
            {
                throw new FileNotFoundException("File "+file + " missing.");
            }
View Full Code Here

TOP

Related Classes of org.codehaus.plexus.archiver.tar.TarGZipUnArchiver

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.