15868

java svnkit: read content of file directly from repository, without exporting it

I am using svnkit in Java to interact with a svn repository.

I would like to read the content of a file that is stored in svn without checking it out from the repository or exporting it. Is that possible?

Example filename that i would like to read: http://svnserver/myproject/example.txt

Can you help me out?

Answer1:

Try SVNRepository.getFile(String path, long revision, SVNProperties properties, OutputStream contents).

Recommend

  • How to add SVN revision number to MANIFEST file?
  • Installing git plugin in eclipse
  • Installing git plugin in eclipse
  • JAVAHL (JNI) Not available
  • Reporting Services 2005: Attempt to export to Excel gives “Object reference not set to an instance o
  • jOOQ: Allowed-Character constraints?
  • How do i install the cakephp forum plugin by Miles J?
  • Cannot read property 'addEvent' of undefined
  • Convert adjacency matrix to a csv file
  • Text classification extract tags from text
  • How to set up precision attribute used by @Column annotation?
  • Perl function name clash
  • Javascript unload page condition
  • How to resolve dependencies from one gradle project to another gradle project in my Eclipse workspac
  • Specifying virtual keyboard type for EditText in XML
  • how to upload multiple files in c# windows application
  • Keep this build forever option - Jenkins
  • Converting a WriteableBitmap image ToArray in UWP
  • How to create a file in java without a extension
  • OpenGL ES texture problem, 4 duplicate columns and horizontal lines (Android)
  • How to install a .deb file on a jailbroken iphone programmatically?
  • Handling un-mapped Rest path
  • Exchange data b/w iOS devices using Bluetooth 4.0
  • Is there any way to access browser form field suggestions from JavaScript?
  • Align navbar back button on right side
  • DotNetZip - Calculate final zip size before calling Save(stream)
  • Cross-Platform Protobuf Serialization
  • Hazelcast - OperationTimeoutException
  • Warning: Can't call setState (or forceUpdate) on an unmounted component
  • Run Powershell script from inside other Powershell script with dynamic redirection to file
  • How to format a variable of double type
  • bootstrap to use multiple ng-app
  • How to get icons for entities from eclipse?
  • Load html files in TinyMce
  • How can I get HTML syntax highlighting in my editor for CakePHP?
  • Free memory of cv::Mat loaded using FileStorage API
  • coudnt use logback because of log4j
  • Turn off referential integrity in Derby? is it possible?
  • JaxB to read class hierarchy
  • reshape alternating columns in less time and using less memory