DataModelLib
From CwWiki
plugins/DataModelLib: This is a little library I put together for representing directories of core images as Java objects. It is very similar to the structure used by iCores and could possibly be merged with the code in the corelyzer.data package. Basically the library tries to parse core images by using a corelyzer.properties file in a directory. The properties file lets the user specify a regular expression to parse the depths out of the filename and also specify things like DPI X and Y orientation if they are known. If the filename contains two depths e.g. AND1_27.5-28.5.jpeg and the user doesn't specify the DPIs, then the library will calculate them for each image. If the filename only contains one depth e.g. AND1_27.5, then the user must specify DPIs and the library will calculate length for each image. At the very last resort, the library will use the DPIs specified in the file, but this will likely be an error. The DataModelLib also contains a simple dialog to assist the user in creating a proper properties file. I've tested the library with both naming schemes used by ANDRILL on ice and it works with both of them, so it will likely work for other projects. The library can also be used as the basis for creating scripts or a tool for generating iCores feeds.

