An easy way would be to run the svn from Java. For example, you can run the command
svn cat yourfile.txt > /tmp/yourtemporaryplace.txt
then Java will read /tmp/yourtemporaryplace.txt . Better yet, read from the process running svn cat yourfile.txt , as in this question on java popen
You can also use the Java library of the SVN client, for example svnkit
(PS I do not code in Java at all, just searched for you)
Basile starynkevitch
source share