Interface ClassAnalyzer
-
- All Known Implementing Classes:
DefaultClassAnalyzer
public interface ClassAnalyzer
Gets the set of classes contained in a library given either as a jar file or an exploded directory.- Author:
- Mark Hobson
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default java.util.Set<java.lang.String>
analyze(java.net.URL url)
analyze.java.util.Set<java.lang.String>
analyze(java.net.URL url, ClassesPatterns excludedClasses)
analyze.
-
-
-
Method Detail
-
analyze
default java.util.Set<java.lang.String> analyze(java.net.URL url) throws java.io.IOException
analyze.
- Parameters:
url
- the JAR file or directory to analyze- Returns:
- a
Set
object - Throws:
java.io.IOException
- if any
-
analyze
java.util.Set<java.lang.String> analyze(java.net.URL url, ClassesPatterns excludedClasses) throws java.io.IOException
analyze.
- Parameters:
url
- the JAR file or directory to analyze- Returns:
- a
Set
object - Throws:
java.io.IOException
- if any
-
-