package link.infra.simpleprocessors.script.apis;

public class Require {
	
	public Object getnative(String msg) {
		return null;
	}
	
	public String get(String msg) {
		// todo fix to read from dirs
		return null;
	}

}

@@ -43,16 +43,143 @@
 .apis;%0A%0A
+import java.io.IOException;%0Aimport java.nio.charset.StandardCharsets;%0Aimport java.nio.file.Files;%0Aimport java.nio.file.Paths;%0A%0A
 public c
@@ -319,16 +319,159 @@
 om dirs%0A
+%09%09try %7B%0A%09%09%09return new String(Files.readAllBytes(Paths.get(msg)), StandardCharsets.UTF_8);%0A%09%09%7D catch (IOException e) %7B%0A%09%09%09e.printStackTrace();%0A%09
 %09%09return
@@ -477,14 +477,18 @@
 n null;%0A
+%09%09%7D%0A
 %09%7D%0A%0A%7D%0A

add temporary require code