protected void configureImageReaderLoaders(){
  imageReaderLoaders=new Vector<ImageReaderLoader>();
  ImageReaderLoader idl=(ImageReaderLoader)ComponentFactory.create("com.bbn.openmap.dataAccess.image.geotiff.GeoTIFFImageReaderLoader");
  if (idl != null) {
    imageReaderLoaders.add(idl);
  }
 else {
    logger.warning("ImageTileLayer needs JAI installed in order to use GeoTIFF Image Reader.");
  }
  idl=(ImageReaderLoader)ComponentFactory.create("com.bbn.openmap.dataAccess.image.WorldFileImageReaderLoader");
  if (idl != null) {
    imageReaderLoaders.add(idl);
  }
 else {
    logger.warning("ImageTileLayer needs JAI installed in order to use World File Image Reader.");
  }
}

protected void configureImageReaderLoaders ( ) { imageReaderLoaders = new Vector < ImageReaderLoader > ( ) ; ImageReaderLoader idl = ( ImageReaderLoader ) ComponentFactory . create ( "com.bbn.openmap.dataAccess.image.geotiff.GeoTIFFImageReaderLoader" ) ; if ( idl != null ) { imageReaderLoaders . add ( idl ) ; } else { logger . warning ( "ImageTileLayer needs JAI installed in order to use GeoTIFF Image Reader." ) ; } idl = ( ImageReaderLoader ) ComponentFactory . create ( "com.bbn.openmap.dataAccess.image.WorldFileImageReaderLoader" ) ; if ( idl != null ) { imageReaderLoaders . add ( idl ) ; } else { logger . warning ( "ImageTileLayer needs JAI installed in order to use World File Image Reader." ) ; } }
internal callback method for subclasses to use to be able to configure imagereaderloader vector with specific imagereaderloaders . by default , loads geotiffimagereader . loader .
