It's all about the answers!

Ask a question

How can we get all repository files under a component from RTC stream using Client plain java libraries?


Jagadeesh Marada (23112) | asked Feb 15 '18, 5:04 a.m.
edited Jun 01 '18, 3:47 p.m. by David Lafreniere (4.8k7)

 Hi Techleads,


My requirement is to get all repository  files under a Component and to check their date modifed.Can any one Guide me the way to get as the same.I didn't find any api to get the all repository files.

Thank you.

2 answers



permanent link
Ralph Schoon (63.1k33645) | answered Feb 15 '18, 6:55 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

Here is an example for a repository workspace: http://thescmlounge.blogspot.de/2013/08/getting-your-stuff-using-rtc-sdk-to-zip.html A stream is pretty much the same.

https://rsjazz.wordpress.com/2015/09/30/learning-to-fly-getting-started-with-the-rtc-java-apis/ has some more pointers to how to approach the API. There are also code examples in that blog.


permanent link
YuanYou Yin (237) | answered Jun 04 '18, 5:54 a.m.

 I have download the RTC-Client-plainJavaLib-6.0.2,there is a folder snippets in it.The folder is the example code.

Maybe it can give you a hint.
1.IWorkspaceHandle
2.repo -> workspaceManager -> workspaceConnection -> componentHandle
3.IVersionableHandle
4.IVersionable
5.fileItem
6.IFileContent

And it is by bytestream to download a file from RTC.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.