[Yanel-usage] get the path of a repository

Bettina Messmer bettina.messmer at gmx.ch
Wed Aug 10 14:29:49 CEST 2011


Hi,

I want to get the path of a directory.

Therefore I tried the statement:

    String repo = getRealm().getRepository().getNode("/polls").getPath();

but it gives me only the path relative to the data repository.

How can I get the whole path?

I need it for the statement:

        File xmlFile = org.wyona.commons.io.FileUtil.file(repo, File.separator + uuid + File.separator + "participants.xml");


thanks a lot and greets,

Bettina
-- 
NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie!		
Jetzt informieren: http://www.gmx.net/de/go/freephone


More information about the Yanel-usage mailing list