it.haefelinger.flaka.dep
Class Scanner

java.lang.Object
  extended by it.haefelinger.flaka.dep.Scanner

public class Scanner
extends Object


Field Summary
 int cntr
           
 File file
           
 Map map
           
 Project project
           
 Map seen
           
 
Constructor Summary
Scanner(Project proj)
           
Scanner(Project project, Map map)
           
 
Method Summary
protected  void add(String[] scope, Dependency d)
           
protected  void add(String scope, Dependency d)
           
protected  Map getAliasMap()
           
protected  Map getScopeMap()
           
 Scanner reset(Project proj, Map map)
           
 void scan(File file)
           
protected  void scan(InputStream stream)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

project

public Project project

map

public Map map

seen

public Map seen

file

public File file

cntr

public int cntr
Constructor Detail

Scanner

public Scanner(Project project,
               Map map)

Scanner

public Scanner(Project proj)
Method Detail

reset

public Scanner reset(Project proj,
                     Map map)

getScopeMap

protected Map getScopeMap()

getAliasMap

protected Map getAliasMap()

add

protected void add(String scope,
                   Dependency d)

add

protected void add(String[] scope,
                   Dependency d)

scan

public void scan(File file)
Parameters:
file - not null

scan

protected void scan(InputStream stream)
             throws Exception
Throws:
Exception