VfsProvider (taack-ui 0.5.7-SNAPSHOT API)
Package: taack.ssh.vfs.impl

[Groovy] Class VfsProvider

      • taack.ssh.vfs.impl.VfsProvider


      • @groovy.transform.CompileStatic
        final class VfsProvider
        extends java.nio.file.spi.FileSystemProvider

        VfsProvider provides 1 VfsFileSystem per user

        • Properties Summary

            Properties 
            Type Name and description
            org.apache.sshd.server.session.ServerSession  serverSession
        • Constructor Summary

            Constructors 
            Constructor and description
            VfsProvider (org.apache.sshd.server.session.ServerSession serverSession)
        • Methods Summary

            Methods 
            Type Params Return Type Name and description
            void checkAccess(java.nio.file.Path path, java.nio.file.AccessMode[] accessModes)
            For relative path access is granted
            void copy(java.nio.file.Path path, java.nio.file.Path path1, java.nio.file.CopyOption[] copyOptions)
            void createDirectory(java.nio.file.Path path, java.nio.file.attribute.FileAttribute<?>[] fileAttributes)
            void delete(java.nio.file.Path path)
            <V extends FileAttributeView> final V getFileAttributeView(java.nio.file.Path path, java.lang.Class<V> aClass, java.nio.file.LinkOption[] linkOptions)
            java.nio.file.FileStore getFileStore(java.nio.file.Path path)
            java.nio.file.FileSystem getFileSystem(java.net.URI uri)
            java.nio.file.Path getPath(java.net.URI uri)
            java.lang.String getScheme()
            boolean isHidden(java.nio.file.Path path)
            boolean isSameFile(java.nio.file.Path path, java.nio.file.Path path1)
            void move(java.nio.file.Path path, java.nio.file.Path path1, java.nio.file.CopyOption[] copyOptions)
            java.nio.channels.SeekableByteChannel newByteChannel(java.nio.file.Path path, java.util.Set<? extends java.nio.file.OpenOption> set, java.nio.file.attribute.FileAttribute<?>[] fileAttributes)
            java.nio.file.DirectoryStream<java.nio.file.Path> newDirectoryStream(java.nio.file.Path path, DirectoryStream.Filter<? super java.nio.file.Path> filter)
            java.nio.file.FileSystem newFileSystem(java.net.URI uri, java.util.Map<java.lang.String, ?> env)
            <A extends BasicFileAttributes> final A readAttributes(java.nio.file.Path path, java.lang.Class<A> aClass, java.nio.file.LinkOption[] linkOptions)
            java.util.Map<java.lang.String, java.lang.Object> readAttributes(java.nio.file.Path path, java.lang.String s, java.nio.file.LinkOption[] linkOptions)
            void setAttribute(java.nio.file.Path path, java.lang.String s, java.lang.Object o, java.nio.file.LinkOption[] linkOptions)
        • Inherited Methods Summary

            Inherited Methods 
            Methods inherited from class Name
            class java.nio.file.spi.FileSystemProvider java.nio.file.spi.FileSystemProvider#isHidden(java.nio.file.Path), java.nio.file.spi.FileSystemProvider#delete(java.nio.file.Path), java.nio.file.spi.FileSystemProvider#checkAccess(java.nio.file.Path, [Ljava.nio.file.AccessMode;), java.nio.file.spi.FileSystemProvider#copy(java.nio.file.Path, java.nio.file.Path, [Ljava.nio.file.CopyOption;), java.nio.file.spi.FileSystemProvider#getScheme(), java.nio.file.spi.FileSystemProvider#getPath(java.net.URI), java.nio.file.spi.FileSystemProvider#createDirectory(java.nio.file.Path, [Ljava.nio.file.attribute.FileAttribute;), java.nio.file.spi.FileSystemProvider#getFileSystem(java.net.URI), java.nio.file.spi.FileSystemProvider#installedProviders(), java.nio.file.spi.FileSystemProvider#newFileSystem(java.net.URI, java.util.Map), java.nio.file.spi.FileSystemProvider#newFileSystem(java.nio.file.Path, java.util.Map), java.nio.file.spi.FileSystemProvider#newInputStream(java.nio.file.Path, [Ljava.nio.file.OpenOption;), java.nio.file.spi.FileSystemProvider#newOutputStream(java.nio.file.Path, [Ljava.nio.file.OpenOption;), java.nio.file.spi.FileSystemProvider#newByteChannel(java.nio.file.Path, java.util.Set, [Ljava.nio.file.attribute.FileAttribute;), java.nio.file.spi.FileSystemProvider#newDirectoryStream(java.nio.file.Path, java.nio.file.DirectoryStream$Filter), java.nio.file.spi.FileSystemProvider#createSymbolicLink(java.nio.file.Path, java.nio.file.Path, [Ljava.nio.file.attribute.FileAttribute;), java.nio.file.spi.FileSystemProvider#createLink(java.nio.file.Path, java.nio.file.Path), java.nio.file.spi.FileSystemProvider#deleteIfExists(java.nio.file.Path), java.nio.file.spi.FileSystemProvider#move(java.nio.file.Path, java.nio.file.Path, [Ljava.nio.file.CopyOption;), java.nio.file.spi.FileSystemProvider#readSymbolicLink(java.nio.file.Path), java.nio.file.spi.FileSystemProvider#getFileStore(java.nio.file.Path), java.nio.file.spi.FileSystemProvider#isSameFile(java.nio.file.Path, java.nio.file.Path), java.nio.file.spi.FileSystemProvider#getFileAttributeView(java.nio.file.Path, java.lang.Class, [Ljava.nio.file.LinkOption;), java.nio.file.spi.FileSystemProvider#readAttributes(java.nio.file.Path, java.lang.Class, [Ljava.nio.file.LinkOption;), java.nio.file.spi.FileSystemProvider#readAttributes(java.nio.file.Path, java.lang.String, [Ljava.nio.file.LinkOption;), java.nio.file.spi.FileSystemProvider#setAttribute(java.nio.file.Path, java.lang.String, java.lang.Object, [Ljava.nio.file.LinkOption;), java.nio.file.spi.FileSystemProvider#newFileChannel(java.nio.file.Path, java.util.Set, [Ljava.nio.file.attribute.FileAttribute;), java.nio.file.spi.FileSystemProvider#newAsynchronousFileChannel(java.nio.file.Path, java.util.Set, java.util.concurrent.ExecutorService, [Ljava.nio.file.attribute.FileAttribute;), java.nio.file.spi.FileSystemProvider#wait(long, int), java.nio.file.spi.FileSystemProvider#wait(), java.nio.file.spi.FileSystemProvider#wait(long), java.nio.file.spi.FileSystemProvider#equals(java.lang.Object), java.nio.file.spi.FileSystemProvider#toString(), java.nio.file.spi.FileSystemProvider#hashCode(), java.nio.file.spi.FileSystemProvider#getClass(), java.nio.file.spi.FileSystemProvider#notify(), java.nio.file.spi.FileSystemProvider#notifyAll()
        • Property Detail

          • final org.apache.sshd.server.session.ServerSession serverSession

        • Constructor Detail

          • VfsProvider(org.apache.sshd.server.session.ServerSession serverSession)

        • Method Detail

          • @java.lang.Override void checkAccess(java.nio.file.Path path, java.nio.file.AccessMode[] accessModes)

            For relative path access is granted

            throws:
            IOException
            Parameters:
            path
            accessModes

          • @java.lang.Override void copy(java.nio.file.Path path, java.nio.file.Path path1, java.nio.file.CopyOption[] copyOptions)

          • @java.lang.Override void createDirectory(java.nio.file.Path path, java.nio.file.attribute.FileAttribute<?>[] fileAttributes)

          • @java.lang.Override void delete(java.nio.file.Path path)

          • <V extends FileAttributeView> @java.lang.Override final V getFileAttributeView(java.nio.file.Path path, java.lang.Class<V> aClass, java.nio.file.LinkOption[] linkOptions)

          • @java.lang.Override java.nio.file.FileStore getFileStore(java.nio.file.Path path)

          • @java.lang.Override java.nio.file.FileSystem getFileSystem(java.net.URI uri)

          • @java.lang.Override java.nio.file.Path getPath(java.net.URI uri)

          • @java.lang.Override java.lang.String getScheme()

          • @java.lang.Override boolean isHidden(java.nio.file.Path path)

          • @java.lang.Override boolean isSameFile(java.nio.file.Path path, java.nio.file.Path path1)

          • @java.lang.Override void move(java.nio.file.Path path, java.nio.file.Path path1, java.nio.file.CopyOption[] copyOptions)

          • @java.lang.Override java.nio.channels.SeekableByteChannel newByteChannel(java.nio.file.Path path, java.util.Set<? extends java.nio.file.OpenOption> set, java.nio.file.attribute.FileAttribute<?>[] fileAttributes)

          • @java.lang.Override java.nio.file.DirectoryStream<java.nio.file.Path> newDirectoryStream(java.nio.file.Path path, DirectoryStream.Filter<? super java.nio.file.Path> filter)

          • @java.lang.Override java.nio.file.FileSystem newFileSystem(java.net.URI uri, java.util.Map<java.lang.String, ?> env)

          • <A extends BasicFileAttributes> @java.lang.Override final A readAttributes(java.nio.file.Path path, java.lang.Class<A> aClass, java.nio.file.LinkOption[] linkOptions)

          • @java.lang.Override java.util.Map<java.lang.String, java.lang.Object> readAttributes(java.nio.file.Path path, java.lang.String s, java.nio.file.LinkOption[] linkOptions)

          • @java.lang.Override void setAttribute(java.nio.file.Path path, java.lang.String s, java.lang.Object o, java.nio.file.LinkOption[] linkOptions)