|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectprotoj.lang.internal.VerifyArchive
public final class VerifyArchive
Used to test correct form of a java archive file. Standard junit assertions
are used if any problem is detected when the execute() method is
invoked.
| Constructor Summary | |
|---|---|
VerifyArchive(java.io.File archive)
The file to be tested. |
|
| Method Summary | |
|---|---|
void |
execute()
Asserts that the given jar file exists and contains or does not contain resources as listed by the names parameter. |
java.util.jar.Manifest |
getManifest()
After the execute() method has finished, this method can be
called for further testing on the manifest, that is considered to
specialized to make generic here. |
void |
initExcludedResources(java.lang.String... excludedResources)
Any resources to check for exclusion. |
void |
initIncludedResources(java.lang.String... includedResources)
Any resources to check for inclusion. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public VerifyArchive(java.io.File archive)
archive - | Method Detail |
|---|
public void initIncludedResources(java.lang.String... includedResources)
includedResources - public void initExcludedResources(java.lang.String... excludedResources)
excludedResources - public void execute()
getManifest()
method.
public java.util.jar.Manifest getManifest()
execute() method has finished, this method can be
called for further testing on the manifest, that is considered to
specialized to make generic here.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||