public static void cacheImgs(String skinImgDir,Iterable<String> baseImageURLs){
  String skinDir=getSkinDir();
  for (  String img : baseImageURLs) {
    img=img.replace("[SKINIMG]",skinDir + "images/");
    img=img.replace("[SKIN]",skinDir + skinImgDir);
    Image.prefetch(img);
  }
}

public static void cacheImgs ( String skinImgDir , Iterable < String > baseImageURLs ) { String skinDir = getSkinDir ( ) ; for ( String img : baseImageURLs ) { img = img . replace ( "[SKINIMG]" , skinDir + "images/" ) ; img = img . replace ( "[SKIN]" , skinDir + skinImgDir ) ; Image . prefetch ( img ) ; } }
cache a list of images
