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

6
LINES

< > BotCompany Repo | #1020000 - localSnippetTitle

JavaX fragment (include)

1  
sS localSnippetTitle(S snippetID) {
2  
  if (!isLocalSnippetID(snippetID)) null;
3  
  File f = localSnippetFile(snippetID);
4  
  if (!f.exists()) null;
5  
  ret or2(getFileInfoField(dropExtension(f), "Title"), "Unnamed");
6  
}

download  show line numbers  debug dex   

Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, mqqgnosmbjvj, pzhvpgtvlbxg, tvejysmllsmz

No comments. add comment

Snippet ID: #1020000
Snippet name: localSnippetTitle
Eternal ID of this version: #1020000/1
Text MD5: 65ea7d80e841ed5d5177ed439c572a34
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-12-03 21:48:49
Source code size: 216 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 105 / 112
Referenced in: [show references]

Formerly at http://tinybrain.de/1020000 & http://1020000.tinybrain.de