[jsword-devel] installer base class

Joe Walker joseph.walker at gmail.com
Mon Oct 11 01:53:59 MST 2004


Hi,

I'm spending a few minutes creating a common base class from the Http
and Ftp installers. I'm mostly done, but I noticed that isNewer() in
the 2 classes is slightly different. The HTTP version extends the
local URL by doing:

SwordBookMetaData sbmd = (SwordBookMetaData) bmd;
local = NetUtil.lengthenURL(local, sbmd.getDiskName() +
SwordConstants.EXTENSION_CONF);

Should the FTP version be doing this too?

Joe.


More information about the jsword-devel mailing list