File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed
metafacture-runner/src/main/java/org/metafacture/runner Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -47,6 +47,13 @@ private Flux() {
47
47
// No instances allowed
48
48
}
49
49
50
+ /**
51
+ * Runs the Flux.
52
+ *
53
+ * @param args the pathname of the flux file to run
54
+ * @throws IOException
55
+ * @throws RecognitionException
56
+ */
50
57
public static void main (final String [] args ) throws IOException , RecognitionException {
51
58
loadCustomJars ();
52
59
Original file line number Diff line number Diff line change @@ -49,6 +49,12 @@ public DirectoryClassLoader(final ClassLoader parent) {
49
49
super (new URL [0 ], parent );
50
50
}
51
51
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
+ */
52
58
public void addDirectory (final File dir ) {
53
59
for (final File file : dir .listFiles (JAR_AND_CLASS_FILTER )) {
54
60
try {
You can’t perform that action at this time.
0 commit comments