You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by fs...@apache.org on 2017/05/13 12:04:21 UTC
svn commit: r1795053 -
/jmeter/trunk/src/jorphan/org/apache/jorphan/reflect/ClassFinder.java
Author: fschumacher
Date: Sat May 13 12:04:21 2017
New Revision: 1795053
URL: http://svn.apache.org/viewvc?rev=1795053&view=rev
Log:
Javadoc describe method findClasses.
Modified:
jmeter/trunk/src/jorphan/org/apache/jorphan/reflect/ClassFinder.java
Modified: jmeter/trunk/src/jorphan/org/apache/jorphan/reflect/ClassFinder.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/jorphan/org/apache/jorphan/reflect/ClassFinder.java?rev=1795053&r1=1795052&r2=1795053&view=diff
==============================================================================
--- jmeter/trunk/src/jorphan/org/apache/jorphan/reflect/ClassFinder.java (original)
+++ jmeter/trunk/src/jorphan/org/apache/jorphan/reflect/ClassFinder.java Sat May 13 12:04:21 2017
@@ -259,7 +259,19 @@ public final class ClassFinder {
return findClasses(searchPathsOrJars, filter);
}
-
+
+ /**
+ * Find all classes in the given jars that passes the class filter.
+ *
+ * @param searchPathsOrJars
+ * list of strings representing the jar locations
+ * @param filter
+ * {@link ClassFilter} that the classes in the jars should
+ * conform to
+ * @return list of all classes in the jars, that conform to {@code filter}
+ * @throws IOException
+ * when reading the jar files fails
+ */
public static List<String> findClasses(String[] searchPathsOrJars, ClassFilter filter) throws IOException {
if (log.isDebugEnabled()) {
log.debug("searchPathsOrJars : {}", Arrays.toString(searchPathsOrJars));