imageNames.add(row + "/" + column + ".png");
}
}
final ImageService imageService = ImageServiceFactory.getImageService();
final Iterator<String> i = imageNames.iterator();
while (i.hasNext()) {
final String imageName = i.next();
final ZipEntry zipEntry = zipFile.getEntry(imageName);
final BufferedInputStream bufferedInputStream = new BufferedInputStream(zipFile.getInputStream(zipEntry));
final byte[] captchaCharData = new byte[bufferedInputStream.available()];
bufferedInputStream.read(captchaCharData);
bufferedInputStream.close();
final Image captchaChar = imageService.makeImage(captchaCharData);
CAPTCHAS.put(imageName, captchaChar);
}
zipFile.close();