public class DependencyBuilder
extends java.lang.Object
Constructor and Description |
---|
DependencyBuilder() |
Modifier and Type | Method and Description |
---|---|
ClassDependencyVisitor |
buildClassDependencies(java.io.File file)
Create a ClassDependencyVisitor from a jar file or class files directory, and use it to visit the associated classes.
|
DependencyCounterVisitor |
buildDependenciesCounter(java.io.File file)
Create a DependencyCounterVisitor from a jar file or class files directory, and use it to visit the associated classes.
|
public ClassDependencyVisitor buildClassDependencies(java.io.File file) throws java.io.IOException
file
- the jar file or class files directoryjava.io.IOException
- if the Jar file does not exist or is unreadable, or is not a Jar filepublic DependencyCounterVisitor buildDependenciesCounter(java.io.File file) throws java.io.IOException
file
- the jar file or class files directoryjava.io.IOException
- if the Jar file does not exist or is unreadable, or is not a Jar fileCopyright © 2016-2023 Herve Girod. All Rights Reserved. Documentation and source under the LGPL licence