public class ZipHelper extends Object
Constructor and Description |
---|
ZipHelper() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isZipStream(InputStream in)
The method to test if a input stream is a zip archive.
|
static void |
zipDirectoryContents(hudson.FilePath directory,
hudson.FilePath zipFile) |
public static boolean isZipStream(InputStream in)
in
- the input stream to test.public static void zipDirectoryContents(hudson.FilePath directory, hudson.FilePath zipFile) throws IOException, InterruptedException
IOException
InterruptedException
Copyright © 2016–2024 Trek10, Inc.. All rights reserved.