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

15
LINES

< > BotCompany Repo | #1014663 // subBot_serveFileWithName

JavaX fragment (include)

static O subBot_serveFileWithName(File file) {
  ret subBot_serveFileWithName(file, file.getName());
}

static O subBot_serveFileWithName(File file, S name) {
  ret call(getMainBot(), 'serveFileWithName, file, name);
}

static O subBot_serveFileWithName(S name, File file) {
  ret subBot_serveFileWithName(file, name);
}

static O subBot_serveFileWithName(File file, S name, S mimeType) {
  ret call(getMainBot(), 'serveFileWithName, file, name, mimeType);
}

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: 425 / 449
Version history: 4 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1028368 - subBot_serveFileWithName_noCache