Re: [SourceJammer-users] Using the Java APi to get dates off different versions
Brought to you by:
robertmacgrogan
From: Robert M. <rob...@ya...> - 2005-03-21 15:01:49
|
Hi, Kevin. The easiest way to get this is to: 1) Use the SimpleInterface class getFileObj() method to get the File object. 2) call either childList() or childNodes() on the File object to get a list of the Version objects. 3) Cast each object in childList()/childNodes() to NodeInfo. 4) The date value can be found with getCreatedDate() on the NodeInfo object. Good luck. --Rob --- Kev...@re... wrote: > Hello, > > I'm trying to get dates off of different file versions of the same file > for reporting purposes. I'm pretty sure this can be done, because by > clicking the details button when using the GUI, I can see a date beside > each version. I'm having trouble trying to do this using the Java API. > > Can you please give me some direction? > > Thanks! > > Kevin Cloudt > 770-806-2648 > kev...@re... __________________________________ Do you Yahoo!? Yahoo! Mail - Find what you need with new enhanced search. http://info.mail.yahoo.com/mail_250 |