public class AssemblyUtils extends Object
| Constructor and Description |
|---|
AssemblyUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addFileToTGZStream(org.apache.commons.compress.archivers.tar.TarArchiveOutputStream tgzout,
File f,
String base,
boolean appendName) |
static void |
copyStandardProjectResources(File projectDir,
File outputDir) |
static File |
createTGZ(File outputDir,
File inputDir,
String name)
Create .tar.gz archive file "name.tar.gz" with the contents of inputDir
using the prefix of "/name"
|
static org.apache.commons.compress.archivers.tar.TarArchiveOutputStream |
createTGZStream(File tgzFile) |
public static void copyStandardProjectResources(File projectDir, File outputDir) throws IOException
IOExceptionpublic static File createTGZ(File outputDir, File inputDir, String name) throws IOException
outputDir - inputDir - name - IOExceptionpublic static org.apache.commons.compress.archivers.tar.TarArchiveOutputStream createTGZStream(File tgzFile) throws IOException
IOExceptionpublic static void addFileToTGZStream(org.apache.commons.compress.archivers.tar.TarArchiveOutputStream tgzout,
File f,
String base,
boolean appendName)
throws IOException
IOExceptionCopyright © 2012–2015 Fizzed Inc. All rights reserved.