Skip to content

Commit aa39675

Browse files
committed
Fix javadoc for module "runner" (#396)
1 parent 118c86c commit aa39675

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

metafacture-runner/src/main/java/org/metafacture/runner/Flux.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,13 @@ private Flux() {
4747
// No instances allowed
4848
}
4949

50+
/**
51+
* Runs the Flux.
52+
*
53+
* @param args the pathname of the flux file to run
54+
* @throws IOException
55+
* @throws RecognitionException
56+
*/
5057
public static void main(final String[] args) throws IOException, RecognitionException {
5158
loadCustomJars();
5259

metafacture-runner/src/main/java/org/metafacture/runner/util/DirectoryClassLoader.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,12 @@ public DirectoryClassLoader(final ClassLoader parent) {
4949
super(new URL[0], parent);
5050
}
5151

52+
/**
53+
* Adds a directory and appends all jars and classes of that directory to the
54+
* list of URLs to search for classes and resources.
55+
*
56+
* @param dir the directory as File to be added
57+
*/
5258
public void addDirectory(final File dir) {
5359
for (final File file : dir.listFiles(JAR_AND_CLASS_FILTER)) {
5460
try {

0 commit comments

Comments
 (0)