How to retrieve forbidden characters for filenames, in Java?
Posted
by Gnoupi
on Stack Overflow
See other posts from Stack Overflow
or by Gnoupi
Published on 2010-03-23T09:32:01Z
Indexed on
2010/03/23
9:33 UTC
Read the original article
Hit count: 386
There are some restricted characters (and even full filenames, in Windows), for file and directory names. This other question covers them already.
Is there a way, in Java, to retrieve this list of forbidden characters, which would be depending on the system (a bit like retrieving the line breaker chars)? Or can I only put the list myself, checking for the system?
© Stack Overflow or respective owner