org.apache.maven.plugin.ejb.utils
Class JarContentChecker

java.lang.Object
  extended by org.apache.maven.plugin.ejb.utils.JarContentChecker

public class JarContentChecker
extends Object

Jar Content Checker


Constructor Summary
JarContentChecker()
           
 
Method Summary
 void addDirectory(File dir)
           
 void addFile(File file)
           
 void addFile(String file, String data)
           
 boolean isOK(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
 

Constructor Detail

JarContentChecker

public JarContentChecker()
Method Detail

addDirectory

public void addDirectory(File dir)

addFile

public void addFile(File file)

addFile

public void addFile(String file,
                    String data)

isOK

public boolean isOK(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-2010 The Apache Software Foundation. All Rights Reserved.