}
if ( jndi ) {
importer = new JNDIImporter( ctx );
} else {
importer = new MozillaImporter( conn );
}
printer = new PrintImportListener( new PrintWriter( System.out, true ) );
importer.setImportEventListener( printer );
importer.readImportDescriptor( Test.class.getResourceAsStream( "import.xml" ) );
importer.importDocument( Test.class.getResourceAsStream( "test.xml" ) );