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

3
LINES

< > BotCompany Repo | #1027712 // isValidFileCharacter - conservative check

JavaX fragment (include)

sbool isValidFileCharacter(char c) {
  ret isLetterOrDigit(c) || contains(".-_ %", c);
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1027712
Snippet name: isValidFileCharacter - conservative check
Eternal ID of this version: #1027712/2
Text MD5: 95d4f5988a7309880d0fd56e5732f8c9
Author: stefan
Category: javax / io
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-07-24 18:44:57
Source code size: 90 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 114 / 143
Version history: 1 change(s)
Referenced in: [show references]