Apache Sling Commons JCR File

Clone this repo:

Branches

  1. 8a71ad0 Adding sonarqube badges as per SLING-9682 by Dan Klco · 4 weeks ago master
  2. 8a4918d Updating badges for org-apache-sling-commons-jcr-file by Radu Cotescu · 4 weeks ago
  3. 30cd458 SLING-9257 Update Pax Exam to 4.13.3 by Oliver Lietz · 6 months ago
  4. de4841a SLING-9256 Update to Sling Bundle Parent 38 by Oliver Lietz · 6 months ago
  5. 66a687d style by Oliver Lietz · 7 months ago

Apache Sling

Build Status Test Status Coverage Sonarcloud 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.