public boolean isJpeg() throws IOException
public boolean isJpeg() throws JpegProcessingException
    public boolean isJpeg() throws IOException    {        BufferedInputStream fileStream = new BufferedInputStream(new FileInputStream(_file));        try {            return isValidJpegHeaderBytes(fileStream);        } finally {            fileStream.close();        }    }