Hi Elam, The EventFeed.class reference is actually a Java class literal as described here:
http://java.sun.com/docs/books/jls/second_edition/html/expressions.doc.html#251530 It's the java.lang.Class object that refers to the EventFeed class (i.e. the desired return type of getFeed). Cheers! -- Kyle On 3/19/07, Elam <[EMAIL PROTECTED]> wrote: > > > Hi all, > > I've been playing around with the Calendar api and one of the methods > in the com.google.gdata.client.Service class is getFeed(java.net.URL, > java.lang.Class). > > All the examples that I've seen that use this method look something > like this( from the Calendar examples) : > EventFeed myFeed = myService.getFeed(feedUrl, EventFeed.class); > > This code leads me to believe that there is a static field in the > EventFeed(or it's Superclass) called class, yet I can't find it > anywhere in the javadocs. Can someone point it out? > > Thanks, > -Elam Daly > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Calendar Data API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-calendar-help-dataapi?hl=en -~----------~----~----~----~------~----~------~--~---
