public final class UtlArchive extends Object
This class MAY be used by end users, however it is not supported.
Constructor and Description |
---|
UtlArchive() |
Modifier and Type | Method and Description |
---|---|
static File |
archiveAndCompress(File source,
File dest,
String archiveFilename,
String platform)
Archive and compress up the contents of a directory
|
static String |
getCompressedArchiveFileExtension(String platform)
Get the platform specific archive file extension.
|
public static final String getCompressedArchiveFileExtension(String platform)
platform
- The X platform platform mnemonic (win-x86-32, linux-x86-64, ...)public static final File archiveAndCompress(File source, File dest, String archiveFilename, String platform) throws Exception
source
- The directory to archive and compress.dest
- The directory in which to place the compressed archive file.archiveFilename
- The name of the archive file. This name will
be appended with the platform specific extension of the archive file
The user can use getCompressedArchiveFileExtension(java.lang.String)
to get
the (platform specific) archive file extension.platform
- The X Platform platform mnemonic (win-x86-32, linux-x86-64, ...)Exception
Copyright © 2019 Neeve Research, LLC. All Rights Reserved.