public class ZipToSrampArchiveContext extends Object
| Constructor and Description |
|---|
ZipToSrampArchiveContext(File jarWorkDir)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
get(String name)
Gets an arbitrary object from the context's state.
|
File |
getJarEntry(String entryPath)
Gets a
File for the given JAR-relative path. |
boolean |
hasJarEntry(String entryPath)
Returns true if a JAR entry exists.
|
void |
put(String name,
Object value)
Stores an arbitrary object into the context's state.
|
public ZipToSrampArchiveContext(File jarWorkDir)
jarWorkDir - public File getJarEntry(String entryPath)
File for the given JAR-relative path. Call this
method to get a resource in the JAR.entryPath - public boolean hasJarEntry(String entryPath)
entryPath - public void put(String name, Object value)
name - value - Copyright © 2011-2014 JBoss, a division of Red Hat. All Rights Reserved.