SLING-7846 Provide a NIO.2 file system implementation for JCR
22 files changed
tree: c0d8055047073b0f129ababbf1e2fdab612a8c87
  1. .gitignore
  2. .sling-module.xml
  3. LICENSE
  4. README.md
  5. bnd.bnd
  6. pom.xml
  7. src/
README.md

Apache Sling Commons JCR File

This module is part of the Apache Sling project.

This module provides a basic NIO.2 file system implementation for JCR.

JCR File System Properties

Property Name (of Type java.lang.String)Allowed ValuesProperty Description
javax.jcr.Sessiona valid (live) SessionSession which is used to access (read/write) the JCR

Limitations

  • Getting an existing FileSystem or Path via URI (FileSystemProvider#getFileSystem(URI):FileSystem) is not supported due to underlying JCR Sessions from environments (env).
  • Getting total space, free space and usable space always returns Long.MAX_VALUE

Notes

  • Most classes in this module log errors and throw exceptions afterwards due to the sparingly used logging in MINA's SFTP subsystem.