remove unnecessary parts
better stream handling
use non deprecated constructor
add generics
Merge pull request #352 from darkv/JavaFSAdaptor_patch

Some updates to JavaFSAdaptor
some javadoc fixes