Clone this repo:

Branches

  1. b072849 SLING-8516 Make testing compliant with Java 9 and higher by Oliver Lietz · 4 months ago master
  2. 7b901b2 Updating badges for org-apache-sling-commons-jcr-file by Radu Cotescu · 9 months ago
  3. bb3ad85 SLING-7245 - Validate pull requests using Jenkins by Robert Munteanu · 9 months ago
  4. ec1df85 SLING-7245 - Validate pull requests using Jenkins by Robert Munteanu · 9 months ago
  5. e8f5f4c SLING-7849 Support file channel operations by Oliver Lietz · 1 year, 1 month ago

Build Status Test Status License

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.