Glob syntax / Javadoc

Salter, Thomas A Thomas.Salter at unisys.com
Tue Apr 7 06:18:00 PDT 2009


In the Javadoc for FileSystem.getPathMatcher, the explanations for the /home/* syntaxes explicitly state "on UNIX platforms".  Shouldn't these forms match on Windows platforms as well?  How else do you write a platform-independent pattern?  I'd think the best definition would be to match the name separator character returned by FileSystem.getSeparator().





More information about the nio-discuss mailing list