WebNFS Developer's Guide

How Do I Obtain the File Separator Character Using XFile?

The path separator for all URL schemes except "native" is a forward slash ("/"). If you are using native paths, the separator can be obtained via System properties. For example:



String s = System.getProperties().getProperty("file.separator")