org.apache.maven.plugin.ejb.utils
Class JarContentChecker
java.lang.Object
org.apache.maven.plugin.ejb.utils.JarContentChecker
- public class JarContentChecker
- extends java.lang.Object
Jar Content Checker
Method Summary |
void |
addDirectory(java.io.File dir)
|
void |
addFile(java.io.File file)
|
void |
addFile(java.lang.String file,
java.lang.String data)
|
boolean |
isOK(java.util.jar.JarFile jarFile)
checks whether the jar file contains the files for this checker,
files with the same file name but with different data will not
be considered. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JarContentChecker
public JarContentChecker()
addDirectory
public void addDirectory(java.io.File dir)
addFile
public void addFile(java.io.File file)
addFile
public void addFile(java.lang.String file,
java.lang.String data)
isOK
public boolean isOK(java.util.jar.JarFile jarFile)
- checks whether the jar file contains the files for this checker,
files with the same file name but with different data will not
be considered.
- Parameters:
jarFile
-
- Returns:
- boolean
Copyright © 2002-2009 The Apache Software Foundation. All Rights Reserved.