parent
5a8b2d96dd
commit
392b731234
@ -0,0 +1,3 @@ |
||||
public class TestPlugin { |
||||
|
||||
} |
@ -0,0 +1,16 @@ |
||||
package sig; |
||||
|
||||
import java.io.IOException; |
||||
import java.nio.file.Files; |
||||
import java.nio.file.Path; |
||||
|
||||
public class PluginLoader { |
||||
public static void LoadPlugins() { |
||||
Path p = Path.of("..","plugins"); |
||||
try { |
||||
Files.walk(p).filter((f)->Files.isRegularFile(f)).forEach((f)->{System.out.println("Found "+f);}); |
||||
} catch (IOException e) { |
||||
e.printStackTrace(); |
||||
} |
||||
} |
||||
} |
Loading…
Reference in new issue