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

5
LINES

< > BotCompany Repo | #1035264 // assertValidFileName

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

Libraryless. Click here for Pure Java version (7915L/45K).

sS assertValidFileName(S s) {
  if (!isValidFileName(s))
    fail("Not a valid file name: " + quote(s));
  ret s;
}

Author comment

Began life as a copy of #1027711

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1035264
Snippet name: assertValidFileName
Eternal ID of this version: #1035264/1
Text MD5: 3831a12af18f9cf10f870cb0472803d7
Transpilation MD5: 3d917ff6fba21b2e8103834eefb91613
Author: stefan
Category: javax / io
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-04-28 15:25:41
Source code size: 119 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 70 / 105
Referenced in: [show references]