how to make jena listener listen to a rdf file that is modified from outside the java program. My rdf file is in a folder and listener should listen to the changes if i modify it manually.

asked 02 Jan '13, 12:55

vipincpy's gravatar image

vipincpy
393
accept rate: 0%


The Java WatchService is the API you need for monitoring changes to files on disk. Using this you can then add logic in your application to reload the RDF file as necessary.

permanent link

answered 03 Jan '13, 05:02

Rob%20Vesse's gravatar image

Rob Vesse ♦
13.9k1715
accept rate: 29%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×602

question asked: 02 Jan '13, 12:55

question was seen: 519 times

last updated: 03 Jan '13, 05:02