There is a non-documented way, but it works [1].

If your library cod file name is: mylibrary.cod

and your text file included into mylibrary.cod is mytext.txt

then you can use the following url to open the stream for the text file from another cod file:

cod://mylibrary/mytext.txt
Message Edited by tbilisoft on 14-06-2009 05:50 PM

Tbilisoft Team
BlackBerry Utilities For Everyday Life
main site: http://www.tbilisoft.com
site for mobile users: http://www.tbilisoft.mobi

[1] http://supportforums.blackberry.com/rim/board/message?board.id=java_dev&message.id=43341