JConfig Changes from v1.1 to v1.2

API Changes

1. The following methods are deprecated:

    DiskObject.getCreationDate()
    DiskObject.getLastAccessDate()
    DiskObject.getModificationDate()

These methods still work, however, they will be removed in a future version. These have been replaced with the following method:

    DiskObject.getDateBundle()

This method returns a 'DateBundle' object, which is used to hold zero or more 'RawDate' objects. Both of these classes are new in this version. The RawDate class holds the year, month, day, hour, minute, and second, but has no conversion or other routines. You can use the JUtils.rawDateToJDate() method to convert a RawDate into a java.util.Date object, however, if you're running on a 1.1.x system, you might want to write a method to convert a RawDate into a Calendar or other class.

2. A new interface has been added, named 'FileSystem'. See the overview.html 'Working with Files' section for more information.

Configuration Changes

With JConfig v1.1 and before, the directory passed to the FileRegistry.initialize() method was required to contain a file named 'jconfig.cfg'.

This is still true, however, with this version this directory must contain an additional file named 'jcfactrz.txt'.

Both of these files are included with this distribution, and you can provide your own versions of either file in order to customize JConfig. This is described in the overview.html 'Customizing JConfig' section,

If JConfig cannot find either of these files, it will output warning messages, and will use default values stored internally. See the first section of 'overview.html' for more information.


Main Page · JConfig · ImageMeister · System Properties Repository · Native Macros · Free Samples · WordMeister · Java Freeware · Links · Contact Us
Copyright (c) 1997-98 Samizdat Productions. All Rights Reserved.
JConfig and ImageMeister are trademarks of Samizdat Productions. Other trademarks are the property of their respective owners.
samizdat@tolstoy.com