public class InMemoryZipEntryRealizer extends Object
| Constructor and Description |
|---|
InMemoryZipEntryRealizer(File zipFile,
TemplateEngine templateEngine)
This object will realize entries found in the given zip file using
replacement values provided by the given template engine.
|
public InMemoryZipEntryRealizer(File zipFile, TemplateEngine templateEngine)
zipFile - the zip file where the entries are to be foundtemplateEngine - the engine used to replace the replacement variables in the zip entry.
if this is null, this realizer object will only extract
the zip file content but will not actually realize any replacement variables within
that zip file contentpublic String realize(String zipEntryName) throws Exception
zipEntryName - the zip entry that is to be extracted in memory and realizedExceptionCopyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.