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

2
LINES

< > BotCompany Repo | #1007388 // fileLength - synonym of getFileSize - return file size or 0 if not exists

JavaX fragment (include)

1  
static long fileLength(S path) { ret getFileSize(path); }
2  
static long fileLength(File f) { ret getFileSize(f); }

Author comment

Began life as a copy of #1001670

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: #1007388
Snippet name: fileLength - synonym of getFileSize - return file size or 0 if not exists
Eternal ID of this version: #1007388/1
Text MD5: 53785b8c9d475b9a3dc07fe102ea91f5
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-03-21 11:24:01
Source code size: 115 bytes / 2 lines
Pitched / IR pitched: No / No
Views / Downloads: 615 / 645
Referenced in: [show references]