org.jboss.tattletale.analyzers
Class ArchiveScanner

java.lang.Object
  extended by org.jboss.tattletale.analyzers.ArchiveScanner

public class ArchiveScanner
extends java.lang.Object

Archive scanner

Author:
Jesper Pedersen

Constructor Summary
ArchiveScanner()
           
 
Method Summary
static Archive scan(java.io.File file)
          Scan an archive
static Archive scan(java.io.File file, java.util.Map<java.lang.String,java.util.SortedSet<java.lang.String>> gProvides, java.util.Set<Archive> known, java.util.Set<java.lang.String> blacklisted)
          Scan an archive
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArchiveScanner

public ArchiveScanner()
Method Detail

scan

public static Archive scan(java.io.File file)
Scan an archive

Parameters:
file - The file
Returns:
The archive

scan

public static Archive scan(java.io.File file,
                           java.util.Map<java.lang.String,java.util.SortedSet<java.lang.String>> gProvides,
                           java.util.Set<Archive> known,
                           java.util.Set<java.lang.String> blacklisted)
Scan an archive

Parameters:
file - The file
gProvides - The global provides map
known - The set of known archives
blacklisted - The set of black listed packages
Returns:
The archive


Copyright ? 2009 JBoss (http://www.jboss.com/)