Finally I found that the code to load frames was already in the source file
(RpfTocHanlder.java) but was commented. The line is :
// readFrameInformation(binFile);
I uncommented it and change it to suit parameters, it become :
for (n = 0; n < this.entries.length; n++) {
readFrameInformation(binFile, this.entries[n]);
}
Alexandre Gagnon wrote:
>
> Hello,
>
> I just want to bring back my post with some new information...
>
> My goal is to loop through each RpfFrameEntry of each RpfTocEntry of a
> specific RpfTocHandler, then read each Frame related to RpfFrameEntry.
>
> It seems it do not work. First of all, because the "public" member
> RpfTocEntry.frames is assigned a value only when using the property
> "RpfTocEntry.getFrames", but this property is protected. So it's
> impossible for an external application using the library to get the
> frames.
>
> In a second way, even if the property "RpfTocEntry.getFrames" become
> public, it will not work, because when constructing the "RpfFramesEntry"
> array, the frame path is never assigned a value. So it will be impossible
> to load it, by using the constructor RpfFrame(String).
>
> Take note that i don't know about the RPF file format, so maybe I am
> missing something.
>
> I can send an exemple of a CIB file upon request.
>
> Thanks in advance !
>
>
>
-- View this message in context: http://www.nabble.com/RPF-vs-Frames-list-tp17107732p17910448.html Sent from the OpenMap mailing list archive at Nabble.com. -- [To unsubscribe to this list send an email to "majdart@bbn.com" with the following text in the BODY of the message "unsubscribe openmap-users"]Received on Tue Jun 17 10:42:33 2008
This archive was generated by hypermail 2.1.8 : Tue Jun 17 2008 - 10:42:34 EDT