Hi, On Mon, May 20, 2013 at 12:32 PM, <alexparvule...@apache.org> wrote: > + for (String p : root.split("/")) { > + rootf = new File(rootf, p); > + }
BTW, if any of the path components contain a prefixed name like jcr:system, the resulting File instance won't work on Windows. More generally the path components probably need to be escaped somehow as the set of valid OS filenames is different from those of valid Oak names. Even things like the distinction between upper and lower case names may be different. BR, Jukka Zitting