views:

45

answers:

1

Hi, I was wondering,

what is the best way to choose for managing text/binary content on filesystem? Typically when building web applications with a lot of multimedia binaries and other various text based content stored on filesystem, JDK 6 java.io is still too much low level.

  • It will change with java 7 as you can see here thanks to new java.nio.file.* package

But until java 7 is out and implemented by IDEs etc., I really don't know what to use for this, except of org.apache.commons.io. I tried few samples with JackRabbit, but I'm not sure if it is a good idea for the purpose I mentioned at the beginning. Is it possible to manage all that filesystem binary/text content by JackRabbit ? Put it all into nodes and properties instead of directories. Does it bring advantages ?

A: 

It's not really clear what you're looking for, but Google's Guava libraries have an io package, and in particular, a Files class full of static methods for file manipulation.

It's not a content repository system, but may provide enough functionality for what you're trying to do.

joev
Great additional library to know about. I was partially asking whether the operations on ""multimedia binaries and other various text based content stored on filesystem"" could be done in JCR style with Apache Jackrabbit, or it's nonsense and it way better to stick with usual filesystem content manipulation.
lisak