|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.maven.shared.jarsigner.JarSignerUtil
public class JarSignerUtil
Useful methods.
Method Summary | |
---|---|
static boolean |
isZipFile(java.io.File file)
Checks whether the specified file is a JAR file. |
static void |
unsignArchive(java.io.File jarFile)
Removes any existing signatures from the specified JAR file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static boolean isZipFile(java.io.File file)
file
- The file to check, must not be null
.
true
if the file looks like a ZIP file, false
otherwise.public static void unsignArchive(java.io.File jarFile) throws java.io.IOException
jarFile
- The JAR file to unsign, must not be null
.
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |