The Import Library is a re-usable framework for building import clients. Several are provided by the OMERO team directly:
The primary classes which make up the Import Library are:
The CommandLineImporter.java class shows a straightforward import. An ErrorHandler instance is passed both to the ImportCandidates constructor (since errors can occur while parsing a directory) and to the ImportLibrary. This and other handlers receive ImportEvents which notify listeners of the state of the current import.