Class RootedFileSystem

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable

    public class RootedFileSystem
    extends BaseFileSystem<RootedPath>
    • Field Detail

      • rootPath

        private final java.nio.file.Path rootPath
      • rootFs

        private final java.nio.file.FileSystem rootFs
    • Constructor Detail

      • RootedFileSystem

        public RootedFileSystem​(RootedFileSystemProvider fileSystemProvider,
                                java.nio.file.Path root,
                                java.util.Map<java.lang.String,​?> env)
    • Method Detail

      • getRootFileSystem

        public java.nio.file.FileSystem getRootFileSystem()
      • getRoot

        public java.nio.file.Path getRoot()
      • close

        public void close()
                   throws java.io.IOException
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Specified by:
        close in class java.nio.file.FileSystem
        Throws:
        java.io.IOException
      • isOpen

        public boolean isOpen()
        Specified by:
        isOpen in class java.nio.file.FileSystem
      • supportedFileAttributeViews

        public java.util.Set<java.lang.String> supportedFileAttributeViews()
        Specified by:
        supportedFileAttributeViews in class java.nio.file.FileSystem
      • getUserPrincipalLookupService

        public java.nio.file.attribute.UserPrincipalLookupService getUserPrincipalLookupService()
        Specified by:
        getUserPrincipalLookupService in class java.nio.file.FileSystem
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object