It's all about the answers!

Ask a question

Lock a file through Java API


Francisco Rodriguez (561328) | asked Oct 22 '15, 10:58 a.m.
edited Oct 10 '17, 1:14 p.m. by David Lafreniere (4.8k7)

 Hi,


I need to lock files programatically using the Java API, do you have any code example?

Regards,
Francisco R.

Accepted answer


permanent link
Francisco Rodriguez (561328) | answered Oct 23 '15, 2:00 p.m.
I did some research and I found this great article:

https://www.ibm.com/developerworks/community/blogs/7685ca43-63d4-4946-89fd-58d379a896d1/entry/how_to_read_and_write_a_file_in_the_repository_directly_without_having_to_create_a_workspace?lang=en
David Lafreniere selected this answer as the correct answer

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.