|
|||||||||
| 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(File file)
Checks whether the specified file is a JAR file. |
static void |
unsignArchive(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(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(File jarFile)
throws IOException
jarFile - The JAR file to unsign, must not be null.
IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||