Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

31
LINES

< > BotCompany Repo | #1004817 // externalize structure + unstructure + sendToLocalBot + loadPage + ...

JavaX fragment (include)

1  
static S structure(O o) {
2  
  ret (S) call(structUnstructModule(), "structure", o);
3  
}
4  
5  
static O unstructure(S s) {
6  
  ret call(structUnstructModule(), "unstructure", s);
7  
}
8  
9  
static O unstructure(S s, final boolean allDynamic) {
10  
  ret call(structUnstructModule(), "unstructure", s, allDynamic);
11  
}
12  
13  
static S sendToLocalBot(S bot, S text, O... args) {
14  
  ret (S) call(structUnstructModule(), "sendToLocalBot", bot, text, args);
15  
}
16  
17  
static S sendToLocalBot(int port, S text, O... args) {
18  
  ret (S) call(structUnstructModule(), "sendToLocalBot", port, text, args);
19  
}
20  
21  
static S loadPage(S url) {
22  
  ret (S) call(structUnstructModule(), "loadPage", url);
23  
}
24  
25  
static S loadPageSilently(S url) {
26  
  ret (S) call(structUnstructModule(), "loadPageSilently", url);
27  
}
28  
29  
static S loadPageSilently(URL url) {
30  
  ret (S) call(structUnstructModule(), "loadPageSilently", url);
31  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1004817
Snippet name: externalize structure + unstructure + sendToLocalBot + loadPage + ...
Eternal ID of this version: #1004817/1
Text MD5: 74b465ce8cfb5441e48468fb6557bc37
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-09-02 02:28:38
Source code size: 882 bytes / 31 lines
Pitched / IR pitched: No / No
Views / Downloads: 501 / 718
Referenced in: [show references]