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

3
LINES

< > BotCompany Repo | #1023922 // tempDeleteFile - AutoCloseable that deletes file

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (28L/1K).

static AutoCloseable tempDeleteFile(File f) {
  ret f == null ? null : autoCloseable { f.delete(); };
}

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1023922
Snippet name: tempDeleteFile - AutoCloseable that deletes file
Eternal ID of this version: #1023922/1
Text MD5: 9cdc5d612ce6cb763f915a63ac5a070f
Transpilation MD5: a58392cc8633653c216ae4c7492ab397
Author: stefan
Category: javax / i.o.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-07-12 17:47:36
Source code size: 105 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 217 / 298
Referenced in: [show references]