public class ArtifactFileWriter extends Object
| Constructor and Description |
|---|
ArtifactFileWriter(File folder)
Creates an instance of the writer to work in the given folder.
|
| Modifier and Type | Method and Description |
|---|---|
File |
explodeJarContent(String artifactName,
File artifactContentLocation)
Writes the jar file content to a folder with the given artifactName.
|
File |
writeContent(String artifactName,
byte[] zipContent)
Unzips the content of the artifact and writes it to a folder inside the
folder with the given artifact name. |
File |
writeContent(String artifactName,
File artifactContentLocation)
Writes application content from artifactContentLocation to a new artifact folder under
folder with the artifactName. |
public File explodeJarContent(String artifactName, File artifactContentLocation)
artifactName - the name of the folder to where jar content will be exploded.artifactContentLocation - the jar file for the artifact.public File writeContent(String artifactName, File artifactContentLocation)
folder with the artifactName.Copyright © 2003–2022 MuleSoft, Inc.. All rights reserved.