I haven't done Java in a while, so here's a pseudocode to do this. You could use this as a function that accepts a String representing a row of your csv.
1. Split the row by "'" delimiter into an array of strings. (method might be called string.split())
2. Iterate through the array (cells).
3. If the current string (cell) contains a double quote:
4. If it doesn't start with a quote - return false; else remove that quote
5. If it doesn't end with a quote - return false; else remove that quote
6. Iterate through the remaining characters of the string
7. If a quote is found, check if the next character is also a quote - if it is not - return false
7. End character iteration
8. End if
9. End array iteration
10. Return true