org.openqa.selenium.io
Class Zip

java.lang.Object
  extended by org.openqa.selenium.io.Zip

public class Zip
extends Object


Constructor Summary
Zip()
           
 
Method Summary
 void unzip(File source, File outputDir)
           
 void unzip(InputStream source, File outputDir)
           
 void unzip(String source, File outputDir)
           
 void unzipFile(File output, InputStream zipStream, String name)
           
 String zip(File inputDir)
           
 void zip(File inputDir, File output)
           
 String zipFile(File baseDir, File fileToCompress)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Zip

public Zip()
Method Detail

zip

public void zip(File inputDir,
                File output)
         throws IOException
Throws:
IOException

zip

public String zip(File inputDir)
           throws IOException
Throws:
IOException

zipFile

public String zipFile(File baseDir,
                      File fileToCompress)
               throws IOException
Throws:
IOException

unzip

public void unzip(String source,
                  File outputDir)
           throws IOException
Throws:
IOException

unzip

public void unzip(File source,
                  File outputDir)
           throws IOException
Throws:
IOException

unzip

public void unzip(InputStream source,
                  File outputDir)
           throws IOException
Throws:
IOException

unzipFile

public void unzipFile(File output,
                      InputStream zipStream,
                      String name)
               throws IOException
Throws:
IOException


Copyright © 2013. All rights reserved.