I started this documentation a while ago and did not have time to finish it properly, sorry for that.
for mountpoints, the best thing to do is:
1/ create an FS.Builder
FS.Builder builder = new FS.Builder();
2/ register the mount point factories you want
FileMountFactory fileDriver = new FileMountFactory(Utils.getCurrentDirectory());
ClassPathMountFactory classpathDriver = new ClassPathMountFactory(Thread.currentThread().getContextClassLoader());
builder.register("file", fileDriver).register("classpath", classpathDriver)
3/ use it to create an FS
FS cmdFS = builder.mount(“classpath:/crash/commands/");
Then create a Bootstrap object with the created cmd FS and conf FS.
does it make sense ?
--
Julien Viet
www.julienviet.com
> --
> Vous recevez ce message, car vous êtes abonné au groupe Google Groupes CRaSH User Group.
> Pour vous désabonner de ce groupe et ne plus recevoir d'e-mails le concernant, envoyez
> un e-mail à l'adresse
crash-users...@googlegroups.com.
> Pour plus d'options, visitez le site
https://groups.google.com/d/optout .
>