File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Document management System

 
sandeep lokhande
Ranch Hand
Posts: 120
Eclipse IDE Firefox Browser
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello i am sandeep,
I want to build a document management system like tortoise SVN,
but i want to commit and update by email-integration,
Please suggest me to avoid overhead of sending whole document.
Instead i want to send to server, only the modified data.
Thank you in advance.
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's a non-trivial undertaking, particularly for binary documents--in my opinion it's not worth the effort. Send the entire document.

If it's in a non-binary format, just send the patch.
 
sandeep lokhande
Ranch Hand
Posts: 120
Eclipse IDE Firefox Browser
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am facing creating design such that it will identify patch modified and then saves the changes<managing versioning>,
but while sending mails i should use minimum bandwidth.
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Then if it's a binary file you'll need to do a binary diff, otherwise use any of the available diff libraries (or just use diff).
 
sandeep lokhande
Ranch Hand
Posts: 120
Eclipse IDE Firefox Browser
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
At first i want to implement this for simple text file .doc etc.
Can you please tell me any example of any diff libraries or Tutorial that can help me to find out the differences in the document.
Thank you in advance.
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A .doc file isn't a text file, in general.

I'd just search for "java +diff" first, if you don't just have a diff executable available on your system.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic