Libraryless. Click here for Pure Java version (6669L/38K).
1 | sinterface IResourceLoader {
|
2 | S loadSnippet(S snippetID); |
3 | S getTranspiled(S snippetID); // with libs |
4 | int getSnippetType(S snippetID); |
5 | S getSnippetTitle(S snippetID); |
6 | File loadLibrary(S snippetID); |
7 | |
8 | //ifndef NoJavaXJar |
9 | default File pathToJavaXJar() { ret pathToJavaxJar_noResourceLoader(); }
|
10 | //endifndef |
11 | |
12 | // may return null, then caller compiles themselves |
13 | default File getSnippetJar(S snippetID, S transpiledSrc) { null; }
|
14 | } |
download show line numbers debug dex old transpilations
Travelled to 10 computer(s): bhatertpkbcr, cfunsshuasjs, mowyntqkapby, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
| Snippet ID: | #1022636 |
| Snippet name: | IResourceLoader |
| Eternal ID of this version: | #1022636/15 |
| Text MD5: | 596f33a9179c5bcf79447a1b624ad8ac |
| Transpilation MD5: | d9a78f6f5c2f24c0d5f73b61f505d380 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2022-01-07 05:28:10 |
| Source code size: | 458 bytes / 14 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 768 / 1608 |
| Version history: | 14 change(s) |
| Referenced in: | [show references] |