Hello, I'm using Apache POI to read images from an xls file. Files are sent to me from the end users. I will need to attach the image into a record in my database based on the image file name. I have found out that the getFileName() method in HSSFPicture class returns just the base name of the file. It is excluding the extension. So when a user attaches a picture "image.jpg" into the xls file the getFileName() method returns just "image".
Is there a way to get also the extension? The getPictureData().suggestFileExtension() is not really an option because it doesn't return the extension the file had when user attached the file into the xls. I have created also a StackOverflow question about this http://stackoverflow.com/questions/27011634/how-to-get-pictures-with-names-from-an-xls-file-using-apache-poi
