org.openqa.selenium.io
Class Zip
java.lang.Object
org.openqa.selenium.io.Zip
public class Zip
- extends Object
Constructor Summary |
Zip()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Zip
public Zip()
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 © 2012. All Rights Reserved.