cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Radaven <gagari...@centrum.cz>
Subject Accessing resource from reader
Date Thu, 17 Sep 2009 12:56:03 GMT

Hi, I am working on my BarcodeImageReader which generates barcode image. The
parameters of barcode are loaded from xml config file (saved on same place
as other resources like jx templates, etc.). 

How can I get to this file to have it as java.io.File? I guess I cannot use
something like 

File file = new File("barcode-cfg.xml");

Is there some getResource method or something like that available?
-- 
View this message in context: http://www.nabble.com/Accessing-resource-from-reader-tp25490717p25490717.html
Sent from the Cocoon - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message