Hola Guys!

while implementing an akubra layer for HDFS,  it came to my attention that URIs 
created by fedora seem to be of the format "file:6f/path/to/file". When i use 
these URIs in Java i ran into the problem that
new URI("file:6f/path/to/file").getPath() == null.
when replacing "file:" with "file://<file:///>" everything works fine, and the 
uri scheme and path have valid values.
am i missing something or is there another way to handle the URIs which fedora 
requests from akubra?


regards,
frank



Frank Asseg
Elektronisches Publizieren und eScience
Entwicklung und Angewandte Forschung
Tel. +49 7247 808-235
Fax +49 7247 808-133
[email protected]


FIZ Karlsruhe – Leibniz-Institut für Informationsinfrastruktur
Hermann-von-Helmholtz-Platz 1
76344 Eggenstein-Leopoldshafen

http://www.fiz-karlsruhe.de/


-------------------------------------------------------

Fachinformationszentrum Karlsruhe, Gesellschaft für wissenschaftlich-technische 
Information mbH. 
Sitz der Gesellschaft: Eggenstein-Leopoldshafen, Amtsgericht Mannheim HRB 
101892. 
Geschäftsführerin: Sabine Brünger-Weilandt. 
Vorsitzender des Aufsichtsrats: MinDirig Dr. Thomas Greiner.

------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Fedora-commons-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers

Reply via email to