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

15
LINES

< > BotCompany Repo | #1014663 // subBot_serveFileWithName

JavaX fragment (include)

1  
static O subBot_serveFileWithName(File file) {
2  
  ret subBot_serveFileWithName(file, file.getName());
3  
}
4  
5  
static O subBot_serveFileWithName(File file, S name) {
6  
  ret call(getMainBot(), 'serveFileWithName, file, name);
7  
}
8  
9  
static O subBot_serveFileWithName(S name, File file) {
10  
  ret subBot_serveFileWithName(file, name);
11  
}
12  
13  
static O subBot_serveFileWithName(File file, S name, S mimeType) {
14  
  ret call(getMainBot(), 'serveFileWithName, file, name, mimeType);
15  
}

Author comment

Began life as a copy of #1014005

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1014663
Snippet name: subBot_serveFileWithName
Eternal ID of this version: #1014663/5
Text MD5: b1104140f89e910eab18317f7abc39ed
Author: stefan
Category: javax / html
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-04 17:23:22
Source code size: 472 bytes / 15 lines
Pitched / IR pitched: No / No
Views / Downloads: 419 / 444
Version history: 4 change(s)
Referenced in: [show references]