SLING-7849 Support file channel operations

delegating file channel operations to file-based file channel
6 files changed
tree: 3c6d2e8c17728d1eba232540238a691d8f6efae4
  1. .gitignore
  2. .sling-module.xml
  3. CODE_OF_CONDUCT.md
  4. CONTRIBUTING.md
  5. LICENSE
  6. README.md
  7. bnd.bnd
  8. pom.xml
  9. 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.