On Tuesday 20 January 2004 9:50 pm, Jeffrey D. Brekke wrote: > > Fair enough. I'll dig in asap. I say wait on the NNTP patches until > after 1.2.0 since we all seem busy atm and should just focus on the > current changes. Rory's patch and bugs are first order business after > that.
It might help if I EXPLAINED the most recent changes. You can figure it out, of course, but a roadmap might help you do so. As I said earlier, FTPFileList and FTPFileIterator are deprecated instead of FTPListParseEngine. This object captures the initial list of entries into an internal LinkedList, with the help of the parser which knows how to delimit the entries. But this list also contains non-entries, preliminary lines, etc. These were previously eliminated by the private method FTPFileIterator.getFirstGoodEntry(). This functionality is now handled by FTPFileEntryParserImpl.preParse(), which previously did nothing in the default case. preParse() is called at the end of FTPListParseEngine.readServerList(). Once this method returns, this engine object has an internal list containing one raw entry for every file in the server list. This is the contract for preParse(). In the VMS case duplicates have been removed. In all cases, preliminary junk has been removed. It is now possible to iterate the list (simply, using standard java iterators), either with getFiles() which gets them all or getPrevious()/getNext() which perform the paged access. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
