I posted some sample Java code for something similar on my blog<http://blog.restphone.com/2011/05/very-simple-google-spreadsheet-code.html>- here's the useful part:
String urlString =
"https://spreadsheets.google.com/feeds/list/0AsaDhyyXNaFSdDJ2VUxtVGVWN1Yza1loU1RPVVU3OFE/default/public/values";
// turn the string into a URL
URL url = new URL(urlString);
// You could substitute a cell feed here in place of
// the list feed
ListFeed feed = service.getFeed(url, ListFeed.class);
